set or update profile picture using fbconnect facebook?

感情迁移 提交于 2019-12-24 11:12:54

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!