• Resolved lazaa

    (@lazaa)


    I have a project where I would like to pull the list of friends after a successful login. (When I say “friends”, I mean all the friends who logged in to my site with their facebook account; that’s what facebook provides when you ask for user_friends)

    I can easily add my extra API call by using the after-login hook but I would also need to modify the scope in the authentication/authorization call. Currently, I need to customize the facebook-login.js for that.

    https://www.ads-software.com/plugins/wp-facebook-login/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Damian

    (@timersys)

    We would need to create a filter in the wp_localize and pass the scopes from php to js using the fbl object.

    If you know how to do that, I open to receive pull requests in hithub ??

    Plugin Author Damian

    (@timersys)

    Im adding more changes, so I went ahead and added this. Scopes are now filterable with fbl/js_vars filter

    Will be released soon but you can get last develop version on github if you need it now

    Thread Starter lazaa

    (@lazaa)

    Wow, I’m impressed again ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customizable scope’ is closed to new replies.