I have followed the standard instructions for utilizing the LoginButton in a fragment, including defering the onActivityResult to the corresponding fragment. But I face the following situation:
The first time the button is pressed, the Twitter app launches as expected.
Then I press authorize, and control returns to my app and the “Using SSO” message is logged, but I get no call whatsoever to any of the methods in the callback that I set in onCreateView.
If I try to press the login button again, “Using OAuth” is logged instead and an error is thrown with the complaint of an authentication being already in progress. Interestingly enough, this time I do get a call to the failure method in the callback.
Any clues on what could I possibly have done wrong?