[英]Facebook SDK 3.0 Auto Login
I'm new to facebook SDK 3.0 IOS 我是Facebook SDK 3.0 IOS的新手
Is there any way to auto - login to facebook SDK 3.0? 有没有办法自动-登录到Facebook SDK 3.0?
My specification is, we can integrate facebook to our application member ID (it's like instagram where we can integrate facebook to our ID) 我的规范是,我们可以将Facebook集成到我们的应用程序成员ID中(就像instagram,我们可以将Facebook集成到我们的ID中)
So, if the member logging out, facebook integration will be logged out, and when the member logging in, facebook will auto login. 因此,如果成员注销,facebook集成将注销,并且当成员登录时,facebook将自动登录。
Is there anyway to do this? 反正有这样做吗? Like storing access token to server maybe?
像将访问令牌存储到服务器一样?
you can use this 你可以用这个
https://graph.facebook.com/oauth/access_token?client_id=APP_ID&client_secret=APP_SECRET&grant_type=fb_exchange_token&fb_exchange_token=THE_ACCESS_TOKEN_OF_USER https://graph.facebook.com/oauth/access_token?client_id=APP_ID&client_secret=APP_SECRET&grant_type=fb_exchange_token&fb_exchange_token=THE_ACCESS_TOKEN_OF_USER
and only one time login, sesión not expire. 并且只有一次登录,sesión不会过期。
Excuse my english 打扰一下我的英语
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.