AveryRegier / socialauth

Automatically exported from code.google.com/p/socialauth
0 stars 1 forks source link

How to minimize Facebook Authenticate Permission? #334

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a line "graph.facebook.com.custom_permission = email" in 
oauth_consumer.properties
2. Build Project (Eclipse)
3. Run

What is the expected output? 
Sign in Facebook without photos access permisson.

What do you see instead?
On Emulator WebView:
SocialAuth Android will receive the following info: your public profile, friend 
list, email address, birthday, current city and photos

In LogCat:
D/SocialAuth-WebView(1072): 
onPageStart:https://m.facebook.com/dialog/oauth?client_id=297841130364674&respon
se_type=code&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream%2Cemail
%2Cuser_birthday%2Cuser_location%2Cuser_photos&type=user_agent&display=touch

What version of the product are you using? On what operating system?
Version of product: SocialAuth-Android-3.2-SDK
OS: Windows 7

Please provide any additional information below.
Just run custom-ui to learning how to authentication. I made some Facebook Apps 
before and got notification that my apps should minimize permission request to 
avoid user rejecting.

Original issue reported on code.google.com by vacharap...@gmail.com on 5 Apr 2014 at 10:37

GoogleCodeExporter commented 9 years ago
Hi 
You have to write custom_permissions ( s was missing )
graph.facebook.com.custom_permissions = email

For more info please see the following:-
https://github.com/3pillarlabs/socialauth/wiki/Sample-Properties

Original comment by tarun.na...@3pillarglobal.com on 15 May 2014 at 4:31