How to save registered user state in facebook sdk 4.4.0 android

How can I save the registered user state in the android SDK. According to the answer here . It is recommended to use a session. But in a new session, the facebook SDK was deleted, as shown here . So how can I continue. thanks in advance

+4
source share
1 answer

Facebook SDK 4.x now automatically saves the registered user state.

Instead of using, sessionyou should check AccessToken.getCurrentAccessToken()for onCreate(), and if not null, skip the login.

, AccessToken , , . currentAccessToken .

+3

All Articles