Facebook Login Permission to test the application before submitting it for review?

I am trying to get some user login rights in my facebook application. Facebook asks the developer to submit their application for viewing before giving any additional permissions to the developer. To do this, it seems to you that you need to fill out the application, and it works so that they can test and do whatever they want before giving the developer or application the additional required permission to enter!

I am currently only testing the application, but it is not complete, but I need additional login permission ( manage_pages , to be precise) so that I can see what my application will do and how it will work ...

But it looks like facebook is only requesting fully developed apps to send.

This is all very confusing. and the facebook documentation is similar to that written by a two-finger person who couldn't even worry about completing the whole sentence!

The question I have is the following:

Is there a way to create an application and get all the login permissions needed to test the application and make it all work before sending it to facebook for viewing?

Thanks in advance.

+6
source share
1 answer

Is there a way to create an application and get all the login permissions needed to test the application and make it all work before sending it to facebook for viewing?

Only by default . Application developers / administrators / testers can test the application, even if they are not reviewed on facebook.

Permissions must be added to your login code . Permissions will not be set in the same way by adding them to the review; instead, permissions with the login code are added using the scope parameter. For details, see this link . This is straight forward!

For instance -

JS SDK -

 FB.login(function(response) { // handle the response }, {scope: 'manage_pages'}); 

Manual input stream -

 https://www.facebook.com/dialog/oauth? client_id={app-id}& redirect_uri={redirect-uri}& auth_type=rerequest& scope=manage_pages 

Just test your application and submit it for verification, adding additional permissions and their data. Hope this helps!

+6
source

Source: https://habr.com/ru/post/971864/


All Articles