views:

36

answers:

0

I'm using xauth, and can successfully get an access token, but can't work out how to get the logged in user's id and name (from the token? or something to do with the delegate method accessTokenReceived?)

I have the username from when the user entered it to log in, so could use this to get the id... but this could also have been an email address, so it starts to get messy.

according to the twitter api, getting an access token the normal way with http would give a response like this:

oauth_token=819797-torCkTs0XK7H2A2i1ee5iofqkMC4p7aayeEXRTmlw&oauth_token_secret=SpuaLXRxZ0gOZHNQKPooBiWC2RY81klw13kLZGa2wc&user_id=819797&screen_name=episod

which includes the id and name. is this information available somehow with the MGTwitterEngine accessTokenReceived method? thanks.