发布到/ feed的工作正常对发布到/链接不起作用。虽然没有错误产生,并且我得到一个ID后面指示成功,我指定为“picture = http://site/url/photo.gif”的缩略图不会显示出来。这是我用过的命令:如何将缩略图图片发布到Facebook/links对象?
curl -F \
"picture=http://tycho.usno.navy.mil/gif/moons/m146.gif" \
-F "message=How I look tonight to my worshippers on Earth" \
-F "name=Current Moon Phase" \
-F "link=http://www.calculatorcat.com/moon_phases/phasenow.php" -F caption="How the Moon appears tonight" \
-F "access_token=111111111111111|2222222222222222222222222|33333333333333333333456n" \
"https://graph.facebook.com/215958041750734/links"
现在,同样的数据,但是发布到月球的墙(饲料),按预期工作:
curl -F \
"picture=http://tycho.usno.navy.mil/gif/moons/m146.gif" \
-F "message=you're looking great tonight!" \
-F "name=Current Moon Phase" \
-F "link=http://www.calculatorcat.com/moon_phases/phasenow.php" -F caption="How the moon appears tonight" \
-F "access_token=111111111111111|2222222222222222222222222|33333333333333333333456n" \
"https://graph.facebook.com/215958041750734/feed"
两者的结果可在可见6月13日在Facebook上的帖子“月球”页面:https://www.facebook.com/pages/The-Moon/215958041750734
任何方式让缩略图图片显示在月球自己的帖子/链接?