Skip to content

Client User Context API v2 #200

Answered by alkihis
camiaei asked this question in Q&A
Feb 25, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi 👋 !
As specified in twitter documentation, stream endpoint only supports v2 app-only authentication.

On the other side, reply to a tweet requires a client with user-context authentication... 😄

So, you need to have two different clients:
One client with a bearer token (your first tentative) to use tweet stream, and the other client (your second one), with user-context (in your case, OAuth 1.0a access tokens) to reply to tweet !

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@camiaei
Comment options

@alkihis
Comment options

alkihis Feb 25, 2022
Collaborator

@camiaei
Comment options

Answer selected by camiaei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants