Twitter-API-v2-sample-code
Twitter-API-v2-sample-code copied to clipboard
Sample code for the Twitter API v2 endpoints
**Describe the bug** Java code samples don't work **To Reproduce** Try running any of the Java code samples locally, they are full of errors - syntax error, logical error. Don't...
per this forum conversation (and others) https://twittercommunity.com/t/filtered-stream-reconnect-code-sample/144821 It would be helpful to provide some form of sample that discusses or implements reconnections.
ChunkedEncodingError was raised every 5 mins due to some issue with the servers that the requests module couldn't handle. The request to get the stream was wrapped in a try-except...
corrected simple misspelling of 'environment' in comment.
"set" (line 87) is a reserved word bearer_token is included in header and not processed in places were the header object is present, so I removed from function instructions when...
Removed unused function argument and variables from filtered-stream.py Tested working of python script. Python script is unaffected by above changes. Thank you.
The [get_users_with_bearer_token.rb](https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/master/User-Lookup/get_users_with_bearer_token.rb) file was clearly copied from [get_tweets_with_bearer_token.rb](https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/master/Tweet-Lookup/get_tweets_with_bearer_token.rb) but the params were not updated for the User type (leaving the Tweet parameters in there still). This should probably be updated...
Hi experts I'm so helpful that samples. However I found the small issue , so I would like to write it. js sample parameter is below: ```javascript const params =...
Update the `response` object name used by `httr::content()` from `res` to `response`.
Without this addition, the rules cannot accept words that contain non ASCII characters (for example the word siccità) and the API returns the error "{"errors":[{"parameters":{},"message":"Invalid JSON"}],"title":"Invalid Request","detail":"One or more parameters...