Monday, March 14, 2011

Play with Facebook API

1. Facebook Developer page : http://developers.facebook.com/docs/guides/mobile/#android
2. Followed the steps
3. When I need to export the signature for my app, I used following keytool command in Command.
keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore 
| openssl sha1 -binary
| openssl base64
    -> But then I got " 'openssl' is not recognized as an internal or external command, operable program or batch file. " message. I was supposed to have openssl program.. So I installed it and then runned it again. (I think I've done it few weeks ago.. It should be working without any additional work I guess.. It's weird.)
    - Well I re-installed 'openssl' and tried everything on facebook sdk page and run an example app but my app kept saying 'invalid key' so I googled it.. After looooong struggling with this problem, finally I got to see the solution from https://github.com/facebook/facebook-android-sdk/issues/140. I found many developers faced the same problem I have.

No comments:

Post a Comment