An example of using Facebook4J in Android app.
This example contains OAuth Authentication and Simple News Feed Reader.
Tested on HTC EVO (Android 2.3.4)
This project requires set up of the Android SDK, Maven, Eclipse, and Android Development Tools(ADT) for Eclipse.
Import this project to Eclipse, and convert to Maven Project (Right-click on project > Configure > Convert to Maven Projects).
- Create App in Facebook Developers Site
- Input "http://facebook4j.org" to Site URL (NOT Native Android App!)
- Get App ID and App Secret
- Rename facebook4j.properties-template to facebook4j.properties on src/main/resources directory
- Set 'oauth.appId' and 'oauth.appSecret'
- Run as Android Application