开发者

Facebook Graph API doesn't return the latest picture for an event

Pretty sure this is a caching (server side not开发者_运维技巧 client) issue but no idea how to resolve.

Some events when I try and get the image just return the normal "question mark" static image (i.e. no image).

But when I check on facebook actual i can see the picture.

This is on the server side as its my python scripts that are getting the image via a call to urllib2.urlopen.

For Example:

http://graph.facebook.com/103299156441265/?fields=picture&type=large

returns

{
   "picture": "http://static.ak.fbcdn.net/rsrc.php/v1/yA/r/gPCjrIGykBe.gif"
}

(which is the static quesitonmark image)

but on the real event page:

http://www.facebook.com/event.php?eid=103299156441265

I can see the image?

Any help would be appreciated.


I think the picture does not appear because the event's information is not accessible through the Graph API. Looking at the event page, it seems to have been created for a non-public group. I think it is likely that you need to be a member of the group in order to access information about its events through the Graph API.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜