Android facebook SDK authentification don't work

view story

http://stackoverflow.com – I am using latest android SDK. Dialog is opened, but after enter credentials dialog is closing and status don't change. private StatusCallback statusCallback = new StatusCallback() { @Override public void call(Session session, SessionState state, Exception exception) { if (session.isOpened()) // call just one time and state is "opening" authWithToken("facebook", session.getAccessToken()); } }; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(new View(this)); //setVisible(false); (HowTos)