twitter-api-typescript-sdk icon indicating copy to clipboard operation
twitter-api-typescript-sdk copied to clipboard

Support OAuth 1.0a User Context authentication method

Open gabibianconi opened this issue 2 years ago • 2 comments

OAuth 1.0a User Context authentication method is not supported

Expected behavior

OAuth 1.0a User Context authentication method is supported in order to be able to get timelines from a node.js app with no UI.

Actual behavior

OAuth 1.0a User Context authentication method is not supported so there is no way to get a user timeline from a node.js app (meaning no UI). Bearer authentication is not enough since it only allows to get public info, and OAuth 2.0 Authorization Code Flow requires a callback URL.

Steps to reproduce the behavior

  • Create a node.js app
  • Try to get a user timeline

gabibianconi avatar Jul 21 '23 14:07 gabibianconi

Wow, an official Twitter API Client!! Let's install it! pnpm install twitter-api-sdk I wanna auth the client, let's see how to Mmmm... Bearer.... Let's check the issue cuz docsn't Open issue on Jul 21 (still open) "Support OAuth 1.0a User Context authentication method" pnpm uninstall twitter-api-sdk pnpm install twitter-api-v2

arch-fan avatar Aug 25 '23 06:08 arch-fan

Have you tried client credentials?

carlzoo avatar Oct 02 '23 23:10 carlzoo