facebook.authorize(this,new String[] { "email", "read_stream" },new DialogListener() giving me problem on mobile phone... but its working on Emulator.. can anyone tell me what idone wrong
Asked
Active
Viewed 1,898 times
2 Answers
3
Did you add this function? If not, just add it.
protected void onActivityResult(int requestCode, int resultCode, Intent data)
{
facebook.authorizeCallback(requestCode, resultCode, data);
}

null pointer
- 5,874
- 4
- 36
- 66

Woodpecker
- 31
- 2
1
..take a look at my post from the other week found here
I found that the best way to get facebook integrated with your app is to look at the examples at github.
-
U r right about login session but in authorize i make some changes and its working fine for me facebook.authorize(this,PERMISSIONS, facebook.FORCE_DIALOG_AUTH, new DialogListener() – nileshbirhade May 19 '11 at 08:16