Michel
Michel

Reputation: 308

Facebook Photo upload works, but i have to allow the photo in my album

So, the photo upload with the PHP SDK to Facebook works.
But when the user uploads it in one of the his own albums, he first have to go to Facebook and press allow, only then the photo will be displayed on Facebook.

Is there a way to make sure it goes in one step (upload photo), instead of 2 (1. upload photo, 2. allow photo)?

I am using the following permissions:
-> publish_stream,
-> photo_upload.

And the setFileUpload is on true.

I hope you can help me, so there won't be angry users because they think the uploading doesn't work..

Upvotes: 0

Views: 388

Answers (1)

Igy
Igy

Reputation: 43816

OK, this was figured out in the comments, a photo uploaded via the API needing to be confirmed usually means one of two things:

  • You don't have the user_photos permission
  • You are uploading to an album with more open visibility than what the user has chosen for your app - e.g. if the user selected 'Friends' as the maximum visibility for the app, and you try to upload to an existing album which is visible publicly, the user needs to approve each photo because otherwise you'd be overriding their selected privacy for the app

Upvotes: 2

Related Questions