What to put in the callback url for android app


#21

Fine, fine!! Fixed!!


#22

Fixed a long time ago… In android call back URL is just a dummy, can be given anything!!


#23

i am facing the same problem. can you help me.


#24

Can you please tell me why , URI is null in this code .

Code

@Override
protected void onResume() {
	// TODO Auto-generated method stub
	super.onResume();
	mt.tempToast("onResume") ;
	
	try
	{
		if (!isTwitterLoggedInAlready()) {
			Uri uri = getIntent().getData();
			if (uri != null && uri.toString().startsWith(TWITTER_CALLBACK_URL)) 
                            {
			}
		}
	}
	catch ( Exception err )
	{
		err.printStackTrace();
		ml.eLog("Exception in : onResume()-!isTwitterLoggedInAlready()");
	}
}

Manifest :

    <activity
        android:name="com.app.jarir.activities.User.LoginActivity"
        android:screenOrientation="landscape" >
        <meta-data
            android:name="com.facebook.sdk.ApplicationId"
            android:value="@string/app_id" />

        <intent-filter>
            <action android:name="android.intent.action.VIEW" />

            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />

            <data
                android:host="t4jsample"
                android:scheme="oauth" />
        </intent-filter>
    </activity>

Website * http://virtualxcellence.com/
Callback URL * http://virtualxcellence.com/
Organization website * http://virtualxcellence.com/