Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android facebook authentication [closed]

I am developing an android application, Generally application contains a login screen, In my application there will be no log in screen, there will be a single icon e.g Facebook icon. If I press that icon it should directly login with the Facebook user name and password and it should log in to the application. Can any one give me suggestion on this?

like image 673
Sukesh Avatar asked May 17 '12 06:05

Sukesh


People also ask

How do I Reauthenticate on Facebook?

To reauthorize your Facebook Page, go to Admin > Channels > Facebook and click on the Reauthorize button. It will take you to the Facebook login page, where you will have to enter the Admin credentials of the page that you are trying to reauthorize.

How do I turn off enforce https on Facebook?

This setting is in the Products > Facebook Login > Settings section of the App Dashboard. Disable this setting if you are not building a custom web login flow or using the Facebook Login SDK on the web. Enforce HTTPS.


1 Answers

Yes You can do that but Only one condition is that you have to Integrate Single-Sign-On into your Application and also you should have Facebook Native App in your Mobile.

Download the Facebook book SDK from this Link.

After downloading follow this Steps

Register your Application in Facebook Account. Then Create Set up Login Pages as in the Steps.

Create Hash Key for enabling Single-Sign-On using Keytool.

Note : If you want to start you App without providing Login details , Facebook Native App should be installed and Logged In.

Else you will asked for Login very First time , next time your App will Launch Automatically without asking for Login Credentials.

This also depends on Access Token so , handle it accordingly.

For more reference on Access Token

like image 189
Venky Avatar answered Sep 23 '22 13:09

Venky