0

I need to get all of the user profile images,

Mean I need more then the user profile image

I tried to get album, and to extract the images form it, but without success

2 Answers 2

1

You need

  • Valid access_token
  • user_photos permissions

After that, get photos

Sign up to request clarification or add additional context in comments.

8 Comments

yes but how can I now if the photo is one of the profile images?
@user954659: this will take every photo, including profile images
but how can I know if the image is one of the profile images?
@user954659: graph.facebook.com/me/albums?access_token=access_token_here -> id of "Profile Pictures"
are you sure this call will not return the albums ids? and not the profile images?
|
1

You could do this with a FQL query:

select pid, src, link, caption from photo where aid in (SELECT aid FROM album WHERE owner=me() and name="Profile Pictures") 

This would require user_photos extended permission.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.