问题
I'm working with the latest version of Facebook's Graph API (v2.3).
I'm using the tagged_places edge on my user object to show a list of places where I've been tagged. According to the docs, this will include location tags on photos, videos, posts, statuses and links on my profile.
For each tagged place, I receive a PlaceTag node. According to the docs I can use the picture
edge to retrieve the picture which was tagged in this location - presumably this only works when the post in question is a photo (rather than status or link, etc).
However it seems that the picture
edge was removed from v2.3 of the Graph API. When I perform a request for the picture against a PlaceTag, I get the following response:
{
"error": {
"message": "(#12) picture edge for this type is deprecated for versions v2.3 and higher",
"type": "OAuthException",
"code": 12
}
}
The docs don't provide an alternative for this removed edge.
How can I retrieve the picture which was associated with a specific PlaceTag
? Is this possible with Graph API v2.3?
Thanks
来源:https://stackoverflow.com/questions/29871314/retrieve-the-picture-associated-with-a-facebook-graph-api-placetag-node-without