How to get your user_id


#1

How do you get your user_id when third party logs in? Which is API, and how can I not find it?


#2

Hey there! Thanks for using the Twitter API. Would you be able to explain more about exactly what your code does, and what you are expecting to happen?


#3

After the twitter third party successfully authorized to log in, how can we get the verification of our ID completion and our database.Is it https://api.twitter.com/1.1/lists/list.json API?


#4

Call the account/verify_credentials endpoint using the returned account token and secret, to return the user’s handle and user ID.


#5

Thank you for your answer. What parameters do you need? Are these parameters directly behind the API or in the request header? Official documents do not see clearly, please tell me, thank you!


#6

You can find this info in our API reference page for this endpoint.


#7

ok,Thank you.