WordPress Social Login
How to completely disable contact import? (FB problem) (4 posts)

  1. eXtide
    Posted 2 years ago #

    Dear Developers,

    is there any way to completely disable contacts import when using your plugin?

    I have already set the facebook scope to "email, user_about_me", but after pressing on "connect with facebook", the application still asks for: public profile, email and contacts!

    On the plugins configuration page everything seems to be disabled. Contacs > Facebook > Disable. Disbaling the Conctact's part of the plugin does not help also.

    I have even tried to manually delete everything i found in the plugin's code, which seemed to have something in common with facebook and contact. However nothing helped...


  2. Mel
    Posted 2 years ago #

    Did you try line 937 in wsl.authentication.php

    // launch contact import if enabled
    //wsl_import_user_contacts( $provider, $adapter, $user_id );

    Comment it out see if that stops
    Also change scope on line 168 to match what you changed in Facebook.php

    // reset scope for if facebook
    if( strtolower( $provider ) == "facebook" ){
    $config["providers"][$provider]["scope"] = "email, user_about_me, user_birthday, user_hometown, user_website";
    $config["providers"][$provider]["display"] = "popup";
  3. eXtide
    Posted 2 years ago #

    Thank you for your suggestions. I have tried it, but unfortunately nothing happened. It look for me like the friendlist request cannot be removed from FB at all.

    When someone connects with an app using Facebook Login, the app can access their public profile and friend list —the pieces of information that are visible to everyone.

    If there is a workaround, please tell me. The users here in germany are very cared about their privacy, so it could be a reason enought not to login on my site, if my plugin asks then for friends list....

  4. Mel
    Posted 2 years ago #

    friendlistis also asked for on line 18 in Facebook.php Here So you can remove it there too otherwise I'm not sure why it keeps requesting it

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Social Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic