title: Android FB API 3.0 - application is misconfigured for Facebook
body: <p>I'm having issues with FB API.</p>
  
  <p>On Friday morning, I've finished setting it up, and it worked fine I was able to install it on my 2 different devices and it worked on both.</p>
  
  <p>On Sunday when I wanted to show my app to my friends, connection to Facebook crashed on device with FB app installed, and today for the first time with API 3.0 I saw that my app is misconfigured for Facebook login.</p>
  
  <p>I did not touch the code till today, and the only thing I changed today is call where I publish image with caption, so I did not touch Login part at all:</p>
  
  <pre><code>if (MyGlobals.INSTANCE.isOnline(getSherlockActivity())) {
  if (txt.getTag() == faceLoggedIn) {
   if (session.isOpened()) {
    Log.w("ss", "Session Allready Open");
    onClickLogout();
    updateSocialView(txt, img);
    // txt.setText("Log To Facebook");
    // txt.setTag(faceLoggedOut);
    // img.setImageResource(R.drawable.facebook_icon_gray);
    // MyGlobals.INSTANCE.f_socialsSet = false;
   }
  } else if (txt.getTag() == faceLoggedOut) {
   if (!session.isOpened() &amp;&amp; !session.isClosed()) {
    Log.w("Session is not opend", "Session is not closed");
    session.openForRead(new Session.OpenRequest(getActivity()).setCallback(MyGlobals.INSTANCE.statusCallback));
   } else {
    Session.openActiveSession(getActivity(), true, MyGlobals.INSTANCE.statusCallback);
    Log.w("Open Active Session", "Status Callback");
    updateSocialView(txt, img);
   }
   updateSocialView(txt, img);
   // txt.setText("Log To Facebook");
   // txt.setTag(faceLoggedOut);
   // img.setImageResource(R.drawable.facebook_icon_gray);
   // MyGlobals.INSTANCE.f_socialsSet = true;
  }
  </code></pre>
  
  <p>So what can cause this misconfiguration? How can App work one day, and then it does not work any more? I did remove the app from facebook to test how it behaves on first app download / login, but again I did not change the app preferences on FB platform.</p>
  
  <p>If there is no FB app on device, everything works fine, webview appears, you log in, you post to FB, all set.</p>
  
  <p>I'm totally confused what is wrong with it when there is FB app set up?</p>
  
  <p>Please explain. Tnx. </p>