WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. eXtide
    Member
    Posted 9 months 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...

    http://wordpress.org/extend/plugins/wordpress-social-login/

  2. Mel
    Member
    Posted 9 months 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
    Member
    Posted 9 months 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.

    http://developers.facebook.com/docs/facebook-login/permissions/
    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
    Member
    Posted 9 months 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

Reply

You must log in to post.

About this Plugin

About this Topic