0

I don't get the example from facebook to work. I implemented all the code from https://developers.facebook.com/docs/android/login-with-facebook till step 3. The code gives no errors in Logcat, only thing is that when I click the confirmation that I want to login with facebook, Logcat tells me the "Logged Out..." message.

That tells me that this piece of code is giving problems

private void onSessionStateChange(Session session, SessionState state, Exception exception) {
        if (state.isOpened()) {
            Log.i(TAG, "Logged in....");
        } else if (state.isClosed()) {
            Log.i(TAG, "Logged out....");
        }
    }

I thonk I got all the steps (keyhash e.d.) done.

Somebody got and idea?

thx

NCS
  • 155
  • 2
  • 3
  • 12
  • This question might be useful: http://stackoverflow.com/questions/15256467/ – Blo Mar 23 '14 at 13:20
  • Thanks, I've added the code and have found that the hashcodes are different. Problem is that when I add the hashcode that shows up in de debuglog to the facebook app on the site, I still get the same behaviour. – NCS Mar 28 '14 at 13:23

0 Answers0