IOS sharing "An error has occurred. Please try again later."

I am publishing through [FBWebDialogs presentFeedDialogModally ...]
It works great.
But if I delete the application in facebook settings and try to make the message again, I get the web publishing login dialog box.
And after logging in, I get the error message: " An error has occurred. Please try again later. ". Callbacks are not called.

How can this be fixed?

Log in formError after log in

+4
source share
3 answers

Sounds like an error in the SDK.

Try specifying app_id in the parameter dictionary passed in [FBWebDialogs presentFeedDialogModallyWithSession:parameters:handler]

The documentation says: "Mandatory, but automatically indicated by most SDKs," however I found that this does not happen automatically.

+7
source

You can get this error when your application is inaccessible to the public (the large slider on the Status and View page of the Facebook developer’s control panel says β€œNO”), and you did not add the account you are logging into as the test user in the application .

I had such a situation when I had not added my test user (I use a difference than my personal one for testing) as a test user for the application.

You can add your test users to the Roles page of the Facebook Developer Control Panel.

+2
source

You can either add your FacebookAppID to the passed parameters, as nick suggests. Or make sure your FacebookAppID is in your plist info file.

Add the string key: FacebookAppID with the value of your Facebook app ID. Then the SDK can automatically add your application ID for use everywhere.

0
source

All Articles