Search code examples
oauthmgtwitterenginexauth

MGTwitterEngine: Which user is logged in?


I'd like to know how can I know which user is logged in at the moment? I'm using xAuth, and I'm not using the SAOAuthTwitterEngine, so I'm limited to the MGTwitterEngine methods.


Solution

  • I'm answering myself: the method checkUserCredentials in MGTwitterEngine brings the info of the current authenticated user.