简体   繁体   中英

Facebook create a browser session starting from access_token

After my app receives the access token from facebook through OAuth2 python API (facepy) in my backend, I need to open a webview ios for showing the fb request dialog (something like https://www.facebook.com/dialog/apprequests?app_id=394119460629357&message=ComeToPlayWithPrintUP&redirect_uri=http://www.photosi.com )

I want to create an authenticated web view instance using the access token that I have so that the user doesn't have to log in again.

Any idea? Thanks.

That is not a feature of the API - for the webview to have access to a user's Facebook data they must be logged into Facebook's website and have the session/login cookies available to that webview; I don't think this is possible with Safari

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM