Best way to implant Facebook in Android application
I tried to implant Facebook in my app. I tried using the official SDK,but got stuck trying To get the hesh key.
I also tried it with FBRocket, but their example just didn't work.It failed to get past the login.
Is there a better way of doing that? Could someone who h开发者_开发问答ad managed it please explain how, maybe showing some code?
Thanks!
I suggest you to keep trying the adroid-facebook-sdk, as it seems the most up to date library. In what part did you get stuck?
keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore
| openssl sha1 -binary
| openssl base64
Make sure you undersand android signing first: http://developer.android.com/guide/publishing/app-signing.html
There are a few blogs/guides out there with step by step procedures to get up and running:
http://twinrainbo.blogspot.com/2010/11/official-facebook-sdk-for-android.html
http://www.ibm.com/developerworks/library/x-androidfacebookapi/index.html
精彩评论