Twitter-API-v2-sample-code icon indicating copy to clipboard operation
Twitter-API-v2-sample-code copied to clipboard

delete_tweet.py returns 403 in free tier

Open pat-ladon opened this issue 2 years ago • 1 comments

Hi @JessicaGarson,

Describe the bug While create_tweet.py worked, delete_tweet.py didn't with the OAuth1. The following exception is raised: Exception: Request returned an error: 403 {"title":"Forbidden","status":403,"detail":"Your client app is not configured with the appropriate oauth1 app permissions for this endpoint.","type":"https://api.twitter.com/2/problems/oauth1-permissions"}

To Reproduce Steps to reproduce the behavior: Execute delete_tweet.py with OAuth1 in Free Tier.

Expected behavior The tweet should be deleted in Free tier as the delete endpoint is listed under my Products in the free tier.

Additional context Thanks for providing these sample files in different languages!

pat-ladon avatar Oct 23 '23 08:10 pat-ladon

Hi, I have also encountered this problem, it has been a few months since you posted, have you solved this problem? @pat-ladon

echo-yiyiyi avatar Apr 16 '24 08:04 echo-yiyiyi