posting requires a permission login dialog to appear twice

2.8k views Asked by At

I am developing a mobile camera app that allows posting a photo on facebook. The camera app is a stand-alone and does not require facebook login when it starts. However I want to allow posting a picture to facebook. It follows that the first time a user will try uploading an image it will have to go through the permission login dialog twice.

I cant find a way to ask the user for access his basic information + posting of an image on his wall with one login dialog.

This seems "by design" if you read: http://developers.facebook.com/docs/concepts/login/permissions-login-dialog/

Its a bad users experience to be transfered in and out the mobile app twice in a row to allow posting.

Is there a way to ask the user for basic information + posting of an image in one pass?

2

There are 2 answers

3
arpan29 On

Do the following steps :

1) Go to https://developers.facebook.com/apps 2) Click on your app. 3) Click edit app 4) Click Advanced 5) Check Enhanced Auth Dialog: Disabled

That's it. You have one authentication popup.

You get two pop-ups because one of them is a basic permission popup for the app while the other popup asks for extended permissions i.e. publish_stream to post a photo on behalf of the user. For more info on facebook permissions, go to : https://developers.facebook.com/docs/reference/login/

1
Md Maidul Islam On

@Oriel Bergig Facebook update the sdk. (v3.0.1 as of March 20, 2013. See what's new in 3.0.). Download from this link .

https://developers.facebook.com/android/

Follow the link Problem is solved .If any issue ping me.