I am developing an android application where I want to integrate facebook like. I was going through the link http://developers.facebook.com/docs/guides/mobile/#android
I have few doubts:
I generated the key using keytool but could not understand how to register it in Mobile and Devices Section. Where is this Mobile and Devices section?
How do I implement the facebook like button functionality in my application? Any sample code will be really helpful.
Rgds, Sapan
www.darooadda.com
To use the Facebook SDK in an Android Studio project, add the SDK as a build dependency and import the SDK. Go to Android Studio | New Project | Minimum SDK. Select API 15: Android 4.0. 3 (IceCreamSandwich) or higher and create your new project.
1) Follow this path:
2) Do you want to make a native app or access it through a webview? If it's a webview, then create the web page as in any other html code. To get started with a native app, did you look at the example at: https://github.com/facebook/facebook-android-sdk/tree/master/examples/simple?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With