-
I'm using the example for stream tweets but you're using a variable that we can't get ? Can you tell me how to get meAsUser please |
Beta Was this translation helpful? Give feedback.
Answered by
alkihis
Mar 6, 2022
Replies: 1 comment
-
Hi! This variable can be obtained through a client with has an user context (with OAuth 1.0a login/OAuth 2.0 User context). // OAuth 1.0a
// You can get all those keys in the twitter dev portal, it will be linked to your Twitter account
const userClient = new TwitterApi({ appKey: '', appSecret: '', accessToken: '', accessSecret: '' })
const meAsUser = await userClient.currentUser() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alkihis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
This variable can be obtained through a client with has an user context (with OAuth 1.0a login/OAuth 2.0 User context).