Take the 2-minute tour ×

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


So I have used 'request_extended_permission' for getting Extended Permissions. What do I use for the User and Friend Permissions?

share|improve this question
offline_access is deprecated, please read developers.facebook.com/roadmap/offline-access-removal –  CBroe Jun 13 '12 at 13:58
add comment

1 Answer

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.request_extended_permission('friends_birthday, user_birthday')


share|improve this answer
I cannot do that since 'offline_access' comes under Extended Permissions and 'friends_birthday' comes under User and Friend Permissions as per developers.facebook.com/docs/authentication/permissions –  kariakunj Jun 13 '12 at 14:34
Are you confusing the categorisation of permissions on the Permissions documentation with the methods in the SDK you're using? Have you checked the code for the SDK to see what it does with the supplied parameters? If it passes them in the scope parameter in the call t the Auth Dialog it should work - there's no difference between how the different permissions categories are requested, they're all passed to the Oauth Dialog in the same parameter –  Igy Jun 13 '12 at 14:35
Yes, after reading your previous comment, I did try to pass the rest of the permissions also in the same call itself, but, it doesn't work. I am not able to understand where am I going wrong. –  kariakunj Jun 13 '12 at 14:40
I've had a look and it seems like that SDK is way out of date, and doesn't work with the current auth flows - it's still using the ext_perm parameter which went away with the Oauth 2 migration in October 2011 –  Igy Jun 13 '12 at 14:46
I feel you are right because here --> developers.facebook.com/docs/reference/fbml/prompt-permission when I refer to the table, column name perms, I get to see offline_access and also email in the same space. So probably, permissions are to be passed in the same call, but, it isn't working for me right now. –  kariakunj Jun 13 '12 at 14:52
show 2 more comments

Your Answer


