How can i get currently logged in user's id


#1

Hello!

I’d like to know if there is a way to know if the current visitor on my site is logged into Twitter and if I can get his/her ID which would have been previously stored by my application to get the access token/secret associated with that ID. I’d like to avoid going through the entire request access token procedure all over again for visitors who have already granted my site access permission. Right now I get a new access token/secret every time a log-in-with-Twitter happens so if this is not possible then my application doesn’t have to store the access token/secret anymore.

Thanks!

  • Owen