xdevplatform / Twitter-API-v2-sample-code

Sample code for the Twitter API v2 endpoints
https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api
Apache License 2.0
2.65k stars 984 forks source link

UTF-8 encoding to rules #102

Open Thunderarea opened 1 year ago

Thunderarea commented 1 year ago

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 to your request was invalid.","type":"https://api.twitter.com/2/problems/invalid-request"}"

github-actions[bot] commented 1 year ago

CLA Assistant Lite bot All Contributors have signed the CLA. If the commit check is not passing, a maintainer must go the Checks tab of this PR and rerun the GitHub Action.

Thunderarea commented 1 year ago

I have read the CLA Document and I hereby sign the CLA

Thunderarea commented 1 year ago

recheck

Thunderarea commented 1 year ago

recheck

Thunderarea commented 1 year ago

I have read the CLA Document and I hereby sign the CLA

Thunderarea commented 1 year ago

recheck