How to get OTHER custom photos and albums using the Facebook Graph API

Scenario: registered with my Facebook account and using the browser, I can see some photos and albums of some users who are not my friends (with privacy settings public or similar) and absolutely all of their past Profile photos. For example URL

https://www.facebook.com/<userid>/photos_all

shows these pictures.

I want to replicate behavior using the Graph API, but GETting

https://graph.facebook.com/<userid>/photos?access_token=...

      

Gives me an empty array data

.

Same scenario using tagged

or albums

instead ofphotos

I tried to use site cleanup, but the FB site uses AJAX to populate the gridview of photos, so it is very difficult.

In the Graphics API, I have requested and used an access token with all permissions as well as a debug access token, but I still cannot get other users' photos.

Can I get photos of people who are not on my friends list using the Facebook API? Did I miss something?

+3


source to share


1 answer


For confidentiality purposes, it is impossible to get photos of OTHER users from the API. Even for an authorized user, you need permission user_photos

.



No scraper allowed .: https://www.facebook.com/apps/site_scraping_tos_terms.php

+4


source







All Articles