-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
really weird issue - adding asterisk *
to a tweet text breaks the api
#63
Comments
Hi, thanks for your submission. |
Ok, for some reason, return new URLSearchParams(body)
.toString()
.replace(/\*/g, '%2A'); // URLSearchParams doesnt encode '*', but Twitter wants it encoded. Will be merged soon with other fixes and improvements. |
wow thanks for the quick response and also fixing it really quick! |
okay so i found this weird issue while working with this api that whenever I add
*
to my tweet message, it literally breaks the api. Here's what's happening with me:^ this won't work, while if i tweet literally anything else which doesn't include asterisk, it will succeed. I have no idea how this happens, even tried using direct post methods, still breaks.
After this, I tested twitter-api-client and that doesn't break at all.
The text was updated successfully, but these errors were encountered: