I'm programming an Android App that should use the Facebook SDK to add some social interaction with Facebook.
My problem is, that the Authentication fails each time I try to run the app.
The only error message I get is: "An error occurred. Please try again later."
My call looks like that:
private Facebook facebook = new Facebook("MyAppID");
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
facebook.authorize(this, permissions, new LoginDialogListener());
}
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data)
{
super.onActivityResult(requestCode, resultCode, data);
facebook.authorizeCallback(requestCode, resultCode, data);
}
I have genereated my debugkey as described and it did work once... but only once! Since then I'm getting this error even after I uninstall the app.
Anyone who has that error too and may have found a solution?
Thanks for any help!
Edit: Got it back to work... no clue how.
I'll update this post if I find out why.