facebook graph api - How to obtain not-friend's public photos -


i trying user public photos (friend's friend). when browse facebook see them, can't access them via api. neither

select created, link, caption, images, like_info photo owner in (select uid user username = "...") or object_id in (select uid user username = "kaja.szuminska") or object_id in (select object_id photo_tag subject in (select uid user username = "...")) order like_info desc limit 0, 100 

nor

.../albums 

nor

.../photos 

nor

.../photos/uploaded 

works.

any ideas?

to access photos (public or not) need permission. it's possible access photos (using user_photos permission) or friends' photos (using friends_photos permission).

if want scrape public photos, can checking user's public feed. i.e. making api call to: https://graph.facebook.com/{user_id}/feed , filter through entries see if photos posted.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -