通过Facebook sharer.php网址的多个图像

时间:2013-09-02 09:40:34

标签: facebook image share

有人知道如何在Facebook上共享页面时让用户选择多个图像吗?

我过去曾经使用过类似下面的网址。图像参数将是

  

P [图像] [0] = ...&安培; P [图像] [1] = ...

等。但是,似乎这不再起作用了。用户看到箭头以选择下一个或上一个图像,但只有一个图像可供选择。

网页 http://occasions.dvangorkum.nl/Land-Rover/Range-Rover-Sport-2.7-/TdV6-HSE-Navigatie-PDC-Climate-Xenon-Luchtvering--1606304/1603/1/11/details.aspx?zoek=&so=gallerij

URL: https://www.facebook.com/sharer/sharer.php?s=100&p[url]=http%3A%2F%2Foccasions.dvangorkum.nl%2FLand-Rover%2FRange-Rover-Sport-2.7-% 2FTdV6-HSE-Navigatie-PDC-气候氙Luchtvering - 1606304%2F1603%2F1%2F11%2Fdetails.aspx%3Fzoek%3D&安培; p [图像] [0] = HTTP%3A%2F%2Fimages.autodealers.nl %2F640%2F1606304_1.jpg&安培; p [图像] [1] = HTTP%3A%2F%2Fimages.autodealers.nl%2F640%2F1606304_2.jpg&安培; p [图像] [2] = HTTP%3A%2F%2Fimages.autodealers .NL%2F640%2F1606304_3.jpg&安培; p [图像] [3] = HTTP%3A%2F%2Fimages.autodealers.nl%2F640%2F1606304_4.jpg&安培; p [图像] [4] = HTTP%3A%2F%2Fimages .autodealers.nl%2F640%2F1606304_5.jpg&安培; p [图像] [5] = HTTP%3A%2F%2Fimages.autodealers.nl%2F640%2F1606304_6.jpg&安培; p [图像] [6] = HTTP%3A%2F %2Fimages.autodealers.nl%2F640%2F1606304_7.jpg&安培; p [图像] [7] = HTTP%3A%2F%2Fimages.autodealers.nl%2F640%2F1606304_8.jpg&安培; p [图像] [8] = HTTP%3A %2F%2Fimages.autodealers.nl%2F640%2F1606304_9.jpg&安培; p [图像] [9] = HTTP%3A%2F%2Fimages.autodealers.nl%2F640%2F1606304_10.jpg&安培; p [图像] [10] = HTTP % 3A%2F%2Fimages.autodealers.nl%2F640%2F1606304_11.jpg&安培; P [图像] [11] = HTTP%3A%2F%2Fimages.autodealers.nl%2F640%2F1606304_12.jpg&安培; P [标题] = +++ +路虎%C2%A0Range +流动站+体育+ 2.7 +%C2%A0TdV6 + HSE + Navigatie + PDC +气候+氙+ Luchtvering +&安培; p [摘要] =场合+ TE +库普+ aangeboden +路虎+范围+路虎+运动+ 2.7 + TDV6 + HSE + Navigatie + PDC +气候+氙气+ Luchtvering ++ UIT + 2007%2C + 187618 +千米%2C +柴油%2C + SUV%2C + Automaat%2C + Grijs和放大器;因此= gallerij

1 个答案:

答案 0 :(得分:0)

  

然而,似乎这不再适用了。

是的,Share dialog在最近更改后不再接受这些参数,但现在将从共享文档中嵌入的Open Graph元信息中获取有关共享链接的所有信息。

因此,如果您想要用户可以选择的多个图像,则必须在文档中放置多个og:image元标记。 (请注意,Facebook似乎提供的图像不超过三张,因此在其中放置更多图像毫无意义。)

有关Open Graph元信息的文档,请参阅https://developers.facebook.com/docs/opengraph/using-objects/#creatinghttp://ogp.me/