Mrjndong / socialauth

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

Facebook permissions example #177

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I'm not mistaken, currently one has to reverse-engineer the socialauth 
sources to understand how to request a different set of permissions from 
Facebook...

Please add a (commeted out) permissions example to "oauth_consumer.properties".

Maybe a wiki page for Facebook with more info about Facebook permissions and 
how to get the data from Facebook.

Original issue reported on code.google.com by Artemciy on 4 May 2012 at 7:43

GoogleCodeExporter commented 8 years ago
Hi Artemciy

This is already implemented. Commented line is just to show how you can give 
custom permission.
You can comment out this line and put the permission whatever you want 
separated by comma.
And you can call provider api() method to make any custom call.

Regards
Tarun

Original comment by tar...@brickred.com on 7 May 2012 at 1:45

GoogleCodeExporter commented 8 years ago
I don't see how this is implemented:
There is no commented out custom permission examples of Facebook permissions in
http://code.google.com/p/socialauth/wiki/SampleProperties

Original comment by Artemciy on 7 May 2012 at 2:01

GoogleCodeExporter commented 8 years ago
As you can see we have given one option in google to show that how can we pass 
custom permission. Similarly you can use that for facebook as given below:-

graph.facebook.com.consumer_key = YOUR_CONSUMER_KEY 
graph.facebook.com.consumer_secret = YOUR_CONSUMER_SECRET
graph.facebook.com.custom_permission = 
publish_stream,email,user_birthday,user_location,offline_access

Original comment by tar...@brickred.com on 10 May 2012 at 8:40

GoogleCodeExporter commented 8 years ago
Thanks, Tarunn.
I already know that from reverse-engeneering your code and reading 
https://developers.facebook.com/docs/authentication/permissions/

Issue 177 is not a question, it is a documentation enchancement request.
Please consider including the example facebook permissions in
http://code.google.com/p/socialauth/wiki/SampleProperties
possibly together with a link to 
https://developers.facebook.com/docs/authentication/permissions/

Original comment by Artemciy on 10 May 2012 at 11:19

GoogleCodeExporter commented 8 years ago
ok, we will give this example in SampleProperties wiki.

Regards
Tarun

Original comment by tar...@brickred.com on 14 May 2012 at 7:36