Translate

Wednesday, July 10, 2013

Facebook Integration with Android

The Facebook Integration simple and attractive with android.With this post I'm sharing that how could I Integrate the facebook with android .


Step 1 : Login with your facebook Id and Password .

Step 2: Go to this link 

and create new application.Then you'll find the appId for your application.


Step 3 :

 Open the Command prompt and enter the command like below ,

keytool -exportcert -alias androiddebugkey -keystore "<path-to-users-directory>\.android\debug.keystore" | openssl sha1 -binary | openssl base64


Then you'll find the command that "Enter the keystore Password"

You just give as android ie., password is android


Then you'll get the key Hash like

djfgi8345390+r2+530


Enter that key hash in your application If you select that as Android Native app.


use the Source codes I've attached here and replace the given appId by your AppId .



Happy Coding :)



Download Source : here (AndroidFacebookConnect folder is a library .You can add that to some sample projects )








No comments:

Post a Comment