FBRocket

Welcome aboard!

FBRocket is a lightweight Facebook framework (SDK) designed to supplement the Android SDK. Basically: FBRocket allows you to leverage the super-cool social networking features of Facebook without having to be an expert on the inner-workings of Facebook.

As of March 2011, FBRocket was retired and is available as an open source project on GitHub (https://github.com/jonathanellis/FBRocket). As of February 2012, it is available as public domain.

FBRocket uses the legacy REST API which is currently being deprecated. FBRocket is not recommended for new projects. (If anyone wants to fork the FBRocket project from GitHub and fork it for the Graph API, be my guest!)

What does it look like?

Well it’s as simple as writing a class which implements the LoginHandler interface, creating a new instance of FBRocket, getting a reference to our Facebook object and calling some methods… How about:
facebook.setStatus("is using FBRocket... it's great!);
Could it really get much easier than that?

Prerequisites

FBRocket works great with Eclipse & the Android plugin for Eclipse.

Download

WARNING: This is pre-release software. Method names, functionality, etc. are constantly changing. Please check this site frequently and obviously do not use the FBRocket alpha in public, production code!

The public preview of FBRocket is available for download.

FBRocket works great with Eclipse & the Android plugin for Eclipse.

Documentation

Installation

For Eclipse projects:

  • Start a new Android project/open an existing Android project
  • Right-click your project and go to Properties
  • Open the Java Build Path panel from the left-hand side
  • Click on Add External JARs… and browse to the location of the FBRocket JAR
  • You’re done! Now you need to write a class implementing LoginListener (this can be your Activity class) and create a new FBRocket object!
IMPORTANT: Many people have been experiencing difficulties with this alpha release, mainly concerning the login functionality. This has probably been caused by not adding the necessary permissions to your AndroidManifest.xml file. You need to add the following: <uses-permission android:name="android.permission.INTERNET" /> to your manifest file of your application in order to enable the embedded web-browser control to connect to the Facebook Connect authorisation mechanism.

For documentation:

Licence

As of February 2012, FBRocket is now public domain.

7 Responses to “FBRocket”

  1. akhil says:

    how to install this fbrocket.jar in to eclipse

  2. kapil says:

    Just Right click on the project,go to properties ,
    Select java build path ,See the right site there is one option Libraries just click on this,
    Now go to add External jar And select the jar

  3. kapil says:

    This code is not working properly,
    How to upload the image in facebook wall

  4. Prakash says:

    Android Facebook API example using FBRocket

  5. Mohamed Rafeeque says:

    private FBRocket fbRocket;
    I can’t create an object like this……..that shows an error even though i added the jar in eclipse

  6. Ram says:

    Are you using ADT 17?

  7. James Farmer says:

    I get pleasure out of, contribute to I uncovered what precisely I’m seeking. You could have broken my own Four working day extended seek out! Goodness Cheers person. Employ a great morning. Bye

Leave a Reply