Configure scope (permission)

Is there a way to configure the requested permission for FB login?

The current login widget is requesting user's birthday and we only need user's basic information and email.

<fb:login-button scope="user_about_me,user_birthday,user_events,user_location,user_birthday,user_likes,email"

Many thanks

  • Vaughan
    • Support/SLS MockingJay

    Hi @Wabs,

    I've just looked and I can't see anywhere in the settings themselves. You might have to custom edit 1 of the plugins files to achieve this.

    edit lib/class_wdfb_permissions.php

    find at top of file

    const NEW_USER = 'user_about_me,user_birthday,user_events,user_location,user_birthday,user_likes,email';

    remove what you want from there and that should do it.

    but remember, these changes will be lost when you update the plugin in future.
    so when you want to update the plugin, it would be best to download the update, manually edit the file & then use FTP to upload to server.

    hope this helps.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.