Anonymous Anonymous - 7 months ago
1555 0

In this android example we will learn how to integrate facebook sdk to your android project, make facebook user login and post to facebook user wall.

Click here to see documentation given by facebook for android sdk integration.

There are various steps, Now we are going to explain facebook sdk integration step by step.

Please visit us as :

Android

Facebook Integration Android Example

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.androidexample.facebook"
    android:versionCode="1"
    android:versionName="1.0" >
 
    <uses-sdk android:minSdkVersion="8" />
 
    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name" >
        <activity
            android:label="@string/app_name"
            android:name="com.androidexample.facebook.AndroidExampleFacebookActivity" >
            <intent-filter >
                <action android:name="android.intent.action.MAIN" />
 
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
     
    <strong><!-- Connect to Internet Permissions --></strong>
    <uses-permission android:name="<strong>android.permission.INTERNET</strong>"/> 
 
</manifest>
 
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.androidexample.facebook"
    android:versionCode="1"
    android:versionName="1.0" >
 
    <uses-sdk android:minSdkVersion="8" />
 
    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name" >
        <activity
            android:label="@string/app_name"
            android:name="com.androidexample.facebook.AndroidExampleFacebookActivity" >
            <intent-filter >
                <action android:name="android.intent.action.MAIN" />
 
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
     
    <strong><!-- Connect to Internet Permissions --></strong>
    <uses-permission android:name="<strong>android.permission.INTERNET</strong>"/> 
 
</manifest>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download