Search code examples
swiftfacebook-graph-apiswift2xcode7-beta3

How can a user change their graph requested profile image to an image in their album


In this app it generates the users FB profile image, but I want them to be able to select another image if they choose. Parse is my backend. The app runs fine and it goes to the users album, but the picture is not updated in the app. FB Graph Request Codere

UIImagePickerController code


Solution

  • You can't update the profile picture with the API. See the docs: https://developers.facebook.com/docs/graph-api/reference/user/picture/#Creating

    More information - and possible workarounds: