Single Sign On for Android Facebook

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.

Thanks in advance.

Answers


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.


Need Your Help

Return specific HTTP response status in JSP

jsp tomcat tomcat7 httpresponse

I want to have a custom error code in my JSP, to prevent a special condition from happening:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.