PLhery / node-twitter-api-v2

Strongly typed, full-featured, light, versatile yet powerful Twitter API v1.1 and v2 client for Node.js.
https://www.npmjs.com/package/twitter-api-v2
Apache License 2.0
1.25k stars 175 forks source link

Unable to upload media using with OAuth2 authentication #417

Closed dev-bre closed 1 year ago

dev-bre commented 1 year ago

I am using OAuth2 authentication, and even though I see that the uploadMedia function is only available for V1, it should still be possible to use it.

Unfortunately I keep getting 403 Forbidden error when I call it.

any idea why?

Please don't tell me it is only available with OAuth1.1 auth... please!

Arikatsu commented 1 year ago

sorry but yes

  • OAuth 2.0 Authorization Code with PKCE (fine-grained scopes, API v2 only)
Intevel commented 8 months ago

@dev-bre Do you found an way to upload media with Oauth?