Closed cryptogohan closed 1 year ago
@cryptogohan I couldn't reproduce this - worked perfectly for me:
https://twitter.com/i/api/2/search/adaptive.json?q=%F0%9F%A6%87%F0%9F%94%8A&tweet_search_mode=live&count=100
I'm using Node 16, maybe this only fails on earlier Node versions. I know this is an old bug but I would appreciate if you helped me reproduce it.
@cryptogohan is an alt I used for a short time.
Mmm, I'm not sure now. The code above is not running anymore. If I had to guess, it had something to do with the difference between Deno and Node. The above was running with Deno.
I'd say we can close this then.
@alextes thanks checking it, I'm closing the issue.
Describe the bug I build a URL like so:
Where
query
is"π¦π"
, and get the following error:Encoding with
encodeURIComponent
seems to fix things but I thought the lib already did that for me? I'm also not sure why this started breaking one day to the next π€ .Thought I'd report, maybe it was always broken somehow and you do need to encode emoji yourself?