Closed devhindo closed 1 year ago
I too have confirmed that the same error occurs.
The cause of this is probably due to the Twitter API v2 plan.
With the Free plan, only the following three APIs are available.
POST /2/tweets
.DELETE /2/tweets/:id
.GET /2/users/me
https://developer.twitter.com/en/portal/products/free
That is, GET /2/users/by/username/:username
used in the example in the README is no longer available.
If you want to use this API, you need to be on a Basic plan or higher.
https://developer.twitter.com/en/portal/products/basic
I am very saddened by the recent deterioration of the Twitter API.
Thanks that made it clear. please update the sample code to include only free plan APIs for a more friendly starter guide. @michimani
I understand. I'll fix it. Thanks for the advice.
I have added a note in the README that there are restrictions based on plan. (#307)
Damn.. wasted a whole day debugging this crap to find out its due to the API plan... Thanks Elon.
I get this error when trying the sample code in the readme file
even though the app is attached to a project.