-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-verify app permissions #2
Comments
Unfortunately, the signed request that Fandjango derives its data from does not contain any information on what extended permissions the user has given the application. You can query the Facebook REST API's users.hasAppPermissions method to verify whether your application has been granted the |
Thank you... |
I regret to say that Facebook has not implemented an equivalent to users.hasAppPermissions in the Graph API yet, but it's likely that they will once the REST API becomes completely deprecated. |
Ah ok, are you aware of good python implementation of the RESTFUL API? |
Or is it really as simple as calling the following url? |
I try to avoid using the REST API, but I believe you're right; it is that simple. |
I thought you might be interested to know that Facebook have recently ported this method to their Graph API (see Platform Updates: Operation Developer Love). I don't know how you'd go about querying this with Facebook's Python SDK, but here's how you might do it with Facepy:
|
Oh they finally have ported this? I'll have a look at it although I'm not going to update the project any time soon. |
If the user has removed 'publish_stream' is there a way to ask for it again ? EDIT: you just redirect to the auth panel |
I've got a little up and running with fandjango where I asked the user to grant the "publish_stream" permission.
Now my question is, how can I check again if the user didn't remove the "publish_stream" permission later?
The text was updated successfully, but these errors were encountered: