larry icon indicating copy to clipboard operation
larry copied to clipboard

Twitter oauth2

Open beesaferoot opened this issue 3 years ago • 2 comments

Tried creating a tweet while testing but I kept running into permission error (error status 220). I think it could be related to how my Twitter app is set up, not sure why Twitter isn't letting the bot tweet using my API credentials.

Although I was able to perform read-only actions like search and lookup.

beesaferoot avatar Feb 11 '22 19:02 beesaferoot

@beesaferoot Sorry for the late response. You may need to regenerate the token after you change the permissions from read-only to read-write. At least that's how it works with OAuth1 and the Twitter API

ezeoleaf avatar Mar 14 '22 19:03 ezeoleaf

Hi @ezeoleaf, Looks like the issue is from the OAuth2 method, I used the 2-step auth which is used as app-only access(read). To include read+write access, the flow (https://developer.twitter.com/en/docs/authentication/oauth-2-0/user-access-token) would be required.

The process looks quite complex, could use some pointers. Thanks

beesaferoot avatar Mar 19 '22 00:03 beesaferoot