kimukou / facebook4j-android-example

An example of using Facebook4J in Android app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Facebook4J for Android Example

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)

Development Environment

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).

How To Run

  1. Create App in Facebook Developers Site
  2. Input "http://facebook4j.org" to Site URL (NOT Native Android App!) Settings Image
  3. Get App ID and App Secret
  4. Rename facebook4j.properties-template to facebook4j.properties on src/main/resources directory
  5. Set 'oauth.appId' and 'oauth.appSecret'
  6. Run as Android Application

append note for Android Project mod ver kimukou

need

copy setting/ad_key_mst.xml => values/ad_key.xml add write

  • App ID
  • App Secret
  • site-url

check hard)

  • Galaxy Note Android 2.2
  • Nexsus 7 Android 4.2
  • 005SH Android 2.3.4

About

An example of using Facebook4J in Android app.


Languages

Language:Java 96.2%Language:Groovy 1.9%Language:Perl 1.9%