how to set extended_permission using facebook-python-sdk?
i found this code for pyFacebook ..
client = facebook.Facebook(api_key, secret_key)
client开发者_JAVA百科.auth.createToken()
client.login()
client.auth.getSession()
client.request_extended_permission("publish_stream", popup=False)
but i want the simliar code for facebook-python-SDK that request the extended permission without poping up the winoow ??
- we no longer support the Facebook python sdk.
- if memory serves, the Facebook python sdk required the use of JS SDK for authentication and the python sdk just pulled the cookie out.
- all permission requests require your app/site to display a web view with our permissions dialog.
- showing this dialog, is very simple to do via HTTP 302 redirects. see https://developers.facebook.com/docs/authentication/
精彩评论