单点登录Android版的Facebook [英] Single Sign On for Android Facebook

查看:175
本文介绍了单点登录Android版的Facebook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,
      我需要知道很多关于单点登录为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.

这篇关于单点登录Android版的Facebook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆