问题
i have a image and i want to set this image as the users profile image. i came to know that we cannot upload directly to "Profile pictures" so i uploaded it in some other album and now i want to set this image as its profile pic ??? any idea how can i do that using fbconnect ? thanks in advance
回答1:
well i guess this is not possible...
http://developers.facebook.com/docs/reference/rest/photos.upload 3rd paragraph says: You can upload to a specific user's album by calling photos.getAlbums. However, you cannot upload to a user's profile picture album.
回答2:
Checkout my answer in this thread: how to set a facebook profile picture using the graph api
You can't set the profile picture, but you can upload it to an album, and then send the user to the "make profile picture"-page for that picture.
来源:https://stackoverflow.com/questions/2995397/set-or-update-profile-picture-using-fbconnect-facebook