Facebook permissions scope
Issue #14
closed
Hi there, Is there any way to set the permissions scope for Facebook authentication? Right now it takes everything possible by default...I looked inside hybrid auth and in the Facebook provider adapter file I found
// default permissions, and alot of them. You can change them from the configuration by setting the scope to what you want/need
public $scope = "email, user_about_me, user_birthday, user_hometown, user_website, read_stream, offline_access, publish_stream, read_friendlists";
Is there a way to set this up through anvard?
Comments (3)
-
-
I added this by default in my pull request: https://bitbucket.org/atticmedia/anvard/pull-request/7/updated-to-41-readme-fixes-added-logout/diff
-
- changed status to closed
- Log in to comment
Hey, if you still haven't figured this out you can set "scope" from your hybridauth.php config file.
After publishing the configs with:
Go to
You should see:
Add scope like this:
Hope this helps! :)