Question: User login with Facebook

User login with Facebook

Hello. I am getting the following error while login with facebook. "Invalid Scopes: user_birthday. This message is only shown to developers. Users of your app will ignore these permissions i

MA

Muhammad Irfan Ahmed

Asked
Hello. I am getting the following error while login with facebook.
"Invalid Scopes: user_birthday. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions"
  • MS

    Mian Saleem

    Answered
    Hello,

    Your app should be approved to use `user_birthday` scope.

    Thank you
  • MA

    Muhammad Irfan Ahmed

    Answered
    if i dont need user_birthday, how can I remove it?
  • MS

    Mian Saleem

    Answered
    In the config file, where you have enabled facebook and set the app id and secret. Scopes are there too.
  • MA

    Muhammad Irfan Ahmed

    Answered
    When I remove it I get the error in the picture.
  • MA

    Muhammad Irfan Ahmed

    Answered
    But If I keep it I get the following error.
  • MS

    Mian Saleem

    Answered
    Hello,

    You can check the log file in `app/logs/`

    The scopes can be set in config file as you need. You should submit the app for approval and only then use it for production.

    Thank you
  • Login to Reply