简体   繁体   中英

Facebook API get picture from post

I am trying to get pictures from photo type posts on Facebook. I am using Python. I tried to access post_id/picture, but I keep getting: facebook.GraphAPIError: (#12) picture edge for this type is deprecated for versions v2.3 and higher

Is there any alternative to the picture edge in v2.8? The documentation still lists picture as an option.

Thanks.

I faced a similar problem. Now to get the picture of a post you can call
{post-id}?fields=picture,full_picture
where picture returns the url of a thumbnail of the image, while full_picture returns the url of the real image.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM