Facebook Graph API stops recognizing publishing area

I am trying to update integration with the Facebook Graph API from version 1 to version 2.0, but I am facing a problem: permission to publish_actions does not appear in the dialog box for submission.

I do it manually (without the JS SDK).

PHP code:

 header('Location: https://www.facebook.com/v2.0/dialog/oauth?client_id='.$appID.'&redirect_uri='.urlencode($callBackUrl).'&scope=publish_actions,offline_access'); exit(0); 

Does anyone know what is going on? I have been looking for a solution for hours. As I said, I had a Facebook app from the previous version, and the Facebook API did not show me any warnings.

I assume that all configurations are correct, or at least they seem.

+5
source share
1 answer

Facebook is currently requesting your application when it uses non-basic permissions, such as publish_action. If you need to use these permissions, you will need to submit your application, which will be verified by the Facebook team. Only after that the permission will be available to the user.

To send your application, open the application at https://developers.facebook.com/apps/ , and after clicking on the application button, click the "Status and Browse" button in the menu on the left, fill out the form and submit it. Within 5 business days you will be notified of the results of the verification.

Another thing that has changed is that non-basic permissions are displayed only to the user after he approves the basic permissions.

In addition, he authorized the use of your own user to test the application (with all permissions, including non-basic), before sending it.

+1
source

All Articles