Reputation: 10712
When you have an access token it's easy enough to get the photos of friends (with appropriate permissions), however I want to get all available photos of everyone in a facebook group. I therefore have a list of facebook IDs of people who I may or may not be friends with.
To summarize 100001448205991 is a user completely at random who I don't know and am not friends with, but they have lots of publicly visible photos, however the following query doesn't produce any results: https://graph.facebook.com/100001448205991/photos?access_token=[MyUser'sAccessToken]
Is there a way to get these photos using the facebook api?
Upvotes: 2
Views: 33508
Reputation: 52073
You cannot get this information from the graph api if you are not friends with this user. You would have to scrape it with a logged in Facebook cookie with this format of URL: https://www.facebook.com/profile.php?id=profileId&sk=photos, with this obviously being against Facebook's terms of service.
Upvotes: 1
Reputation: 1612
This will give you a 200px wide profile picture.
http://graph.facebook.com/USERID/picture?type=large
Upvotes: 1
Reputation: 1161
no, to get the photos for a user via graph api / fql, you need to have the corresponding permission
Upvotes: 1