How to get the url of a photo while reading user messages and they like the photo?

I read my wall posts on a user's wall using the Graph API "/ 637674567 / posts". One of the data elements is that he likes photography. Is there any way to get the url for the photo? When I get the item information, I get the following (below). I have confirmed that Darryl allows apps to see their photos and status updates. I tried to get all permissions for my application. I can not understand. Any help? Thanks!

{ "id": "637674567_10151119619094448", "from": { "name": "Darryl Green", "id": "637674567" }, "story": "Darryl Green likes a photo.", "story_tags": { "0": [ { "id": 637674567, "name": "Darryl Green", "offset": 0, "length": 19, "type": "user" } ] }, "type": "status", "application": { "name": "Likes", "id": "2409997254" }, "created_time": "2012-08-29T03:29:03+0000", "updated_time": "2012-08-29T03:29:03+0000", "comments": { "count": 0 } } 
+6
source share
1 answer


Your friend may have allowed apps to access their photos. But there is another level of privacy settings, that is, what data can applications that his friend (you) use have access to his feed?

Most likely, if these settings do not allow access to his photos, when you try to access them through the application, you will not be able to do this.
For a more detailed explanation, please check this answer - http://facebook.stackoverflow.com/a/12151338/1628782 .

0
source

Source: https://habr.com/ru/post/924211/


All Articles