Skip to content
This repository has been archived by the owner on Aug 3, 2019. It is now read-only.

Sample App

Roman Kushnarenko edited this page Oct 16, 2014 · 1 revision

Setup

  1. Create new app on facebook side and set:

    • Set Android platform and add package name: com.sromku.simple.fb.example
    • Set Class name: MainActivity
    • Set key hash. To generate one, you can use keytool or use Utils.getHashKey(context) method in the library.
  2. Import the sample app project to Eclipse (or Android Studio). If something goes wrong, follow these steps also.

  3. Open strings.xml and change to your application id that you see in facebook dashboard

    <string name="app_id">728615400528729</string>
    
  4. Open SampleApplication.java class and change again the APP_ID to your value and APP_NAMESPACE to your value that appears in app faceboook dashboard.

    private static final String APP_ID = "728615400528729";
    private static final String APP_NAMESPACE = "sromkuapp_vtwo";

That's it, run the app :)

Clone this wiki locally