skip to Main Content
  1. I tried 2 way, one in the Facebook Developer site find permission request with this name, I couldn’t find it.
  2. add as a 4th parameter to the Facebook Login Button, it did not help
<FacebookLogin
appId={fbAppId}
autoLoad={true}
fields="name,email,picture,pages_show_list"
onClick={this.componentClicked}
callback={this.responseFacebook}
/>

Do you have any other idea?

2

Answers


    1. The Facebook API works like this,
      Development Mode: For development mode you can try to access pages which were associated with the account in which app created. So, that pages associated with that user can be accessible. You can retrieve the pages using following link,

    https://developers.facebook.com/docs/graph-api/reference/user/accounts/

    Live mode: In case of live mode you need to create a video of snapshot using your development mode functionality and get “pages_show_list” permission approved. Then you can access the pages details associated with authenticated users.

    1. For login button you can try like this,
    
    fb:login-button size="large" scope="public_profile,email,pages_show_list,read_insights,manage_pages" onlogin="checkLoginState();"
    

    which gives you token and use that token to get pages associated with user account.

    Login or Signup to reply.
  1. If you are using the js SDK of Facebook then there is an option to ask permission through SDK functions.

    FB.login(function(response) {
      // handle the response
    }, {scope: 'public_profile,email,..other persmissionlist'});
    

    Note:-

    1. Use this concept only when your app is in the testing phase and
      wants to create a request for permission in App Review or there are
      some permissions enabled but you want only a few.
    2. Use this approach with Test users only.

    Reference link:-

    https://developers.facebook.com/docs/facebook-login/web#re-asking-declined-permissions

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search