Android Facebook API example using FBRocket

This post is posted as per the request of many comments on Android JTwitter Example.

Now let proceed ahead with Facebook using FBrocket.

Using FB rocket we can update our facebook profile status from mobile application.

Before we get into coding we got to make sure that we do the following steps

  1. Import the FBrocket JAR file to the eclipse project and add it to JAR libraries. Download here ( )
  2. Make sure you have created an application in!/developers/createapp.php
  3. Note down application name and API key, do not reveal API key to anybody.

Android URL shortener using tinyurl example

This snippet is example to generate tinyurl from original url.Uses to generate url.Will be much useful in facebook and twitter android application.

Android Post Status to Twitter using Jtwitter- Example

In android, we can able to post a status to twitter by using jtwitter. Its very simple to post a status in twitter. For that we need jtwitter.jar. you can download the jwitter.jar from here
Post Status in Twitter Example :-
Create a new android project,
Add the below code in your AndroidManifest.xml for internet permission

[sourcecode language="xml"]
<uses-permission android:name="android.permission.INTERNET"/>

Syndicate content