I\'m trying to retrieve the AuthToken for Facebook (saved by Facebook for Android) by using the following piece of code.
AccountManager am =
Try calling AccountManager.blockingGetAuthToken instead. If that works, then there's something more interesting at fault here...
AccountManager.blockingGetAuthToken
Also, make sure your manifest has the USE_CREDENTIALS permission set correctly.
USE_CREDENTIALS