Twitter-API-v2-sample-code
Twitter-API-v2-sample-code copied to clipboard
Sample code for the Twitter API v2 endpoints
Fix 401 unauthorized error by missed write permission ---- $ python3 delete_tweet.py Traceback (most recent call last): File "delete_tweet.py", line 67, in raise Exception( Exception: Request returned an error: 401...
Looks like there's a typo in `upload_ids.py`, In the comment it should be `upload_url` not `download_url`. This pr updates the comment to `upload_url`.
If we just copy the dependencies installation code from [JavaScript (Node.js) environment set up](https://github.com/twitterdev/Twitter-API-v2-sample-code#javascript-nodejs-environment-set-up), we'll get the following ```bash npm install needle npm install got npm install oauth-1.0a ``` This...
I'm exploring the Twitter API integrated with Nodejs, currently trying to post a tweet using the example provided "Twitter-API-v2-sample-code/Manage-Tweets/create_tweet.js" but getting error "Bad request". I only changed the consumer_key and...
These functions had a typo using a var outside their scope
I am using python sample code provided in the repository. But I am getting "builtins.Exception: (401, '{\n "title": "Unauthorized",\n "type": "about:blank",\n "status": 401,\n "detail": "Unauthorized"\n}')" error whenever I try to...
Added PHP sample code.