单点登录Android版的Facebook单点、Android、Facebook

2023-09-04 04:03:04 作者:空名

朋友,       我需要知道很多关于单点登录为Facebook的支持。我有我的设备上的两个应用程序,我必须张贴饲料。我登录了第一次从应用程序中的任何一个,但我需要它来继续使用相同的登录凭据和会话的其他应用程序,而不显示登录页面。在Android是这可能吗?如果是的话,请指导我如何实现它。

Friends, I need to know much about Single Sign On support for Facebook. I have two applications on my device and I have to post the feed. I login the very first time from either one of the applications, but I need it to continue using the same login credential and session for the other application without showing the login page. Is this possible in android? If so please guide me how to implement it.

在此先感谢。

推荐答案

确认这两个应用程序引用同一个Facebook应用程序 CLIENT_ID client_secret 。一旦用户授权你的Andr​​oid的应用程序之一,存储他们的 access_token ,并且两个应用程序之间共享。

Make sure both apps reference the same Facebook app client_id and client_secret. Once the user authorizes one of your Android apps, store their access_token, and share it between both apps.

 
精彩推荐
图片推荐