Reputation: 21
I am making a facebook app where, in the User and Friends Permissions I have chosen 'friends_birthday' and under the Extended Permissions I have chosen 'offline_access'
For the 'offline_access' the code is
facebook=Facebook('<api-key>','<secret-key>')
facebook.request_extended_permission('offline_access')
So I have used 'request_extended_permission' for getting Extended Permissions. What do I use for the User and Friend Permissions?
Upvotes: 1
Views: 200
Reputation: 43816
Assuming 'pyfacebook' works in a similar way to the official SDKs, just add the rest of the permissions you need as a CSV list to the same call:
facebook=Facebook('<api-key>','<secret-key>')
facebook.request_extended_permission('friends_birthday, user_birthday')
etc
Upvotes: 0