Since this question has no answer, I am writing it.
The 3.0 Facebook SDK for Android uses the Session class to login. Initially, as mentioned in the question, the authorization method was used.
Code to accurately replace the code mentioned in the question:
Session session = Session.getActiveSession(); if (session == null) { session = new Session(getApplicationContext()); } Session.setActiveSession(session);
source share