michimani / gotwi

A library for using the Twitter API v2 in the Go language. (It is still under development).
MIT License
126 stars 26 forks source link

403 Forbidden #311

Open fsjobwd opened 7 months ago

fsjobwd commented 7 months ago

error info: panic: The Twitter API returned a Response with a status other than 2XX series. httpStatus="403 Forbidden" httpStatusCode=403 title="Client Forbidden" detail="When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal."

env: export GOTWI_ACCESS_TOKEN=773141586-xxxxx... export GOTWI_ACCESS_TOKEN_SECRET=ZvKKmxxxxx... export GOTWI_API_KEY=mljDDpxxxx.... export GOTWI_API_KEY_SECRET=mOinjcRBxxx...

why? thanks!

BillZong commented 7 months ago

I'm afraid that Twitter project must be created, and upgraded to Basic/Pro plan. No money, no talk. 🤪