Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
857 views
in Plugins by
I'm wondering if there is a way to limit the amount of details that are requested via a facebook registration.  I know that the more personal information you ask a user to allow from facebook, the higher the abandonment.

 

For example, right now, when I use the facebook login button to register a new user, the user is told that the following will be shared:

Public Profile (Name, profile picture, age range, gender, language, country and other public info)
Friend List
Email Address
Current City
Website
and Personal Description

I don't really need all of that, do I?  What do I need the friend list for?

Where can I set what information my app will be requesting from a user logging in with Facebook?

Many thanks,

B
Q2A version: 1.6.3

1 Answer

+3 votes
by
selected by
 
Best answer

Inside your qa-plugin folder there is a folder called facebook-login. Open it and then inside it you will find a file named qa-facebook-login.php, you have to edit that file. Open it and go to around line number 87, there you will find a code snippet like:

scope="email,user_about_me,user_location,user_website"

change it to

scope="email"

and you will be all set. 

Some information in Public Profile (like Picture Profile, Gender, Country etc) and Friend Lists are default facebook data permissions, you cannot change them - so if the user has made his FB friendlist public, FB will give it else not. 

by
I'm trying to get the user's friend list - but the getusercontacts() contacts array comes back as empty... any thoughts on what to do next to figure out why this is happening?
...