简体   繁体   中英

How to post emojis with the twitter api in Nodejs

I can post tweets using the Twit library: https://github.com/ttezel/twit but i'm not being able to post emojis, i tried writing &#xe131 and decodeURIComponent('&#xe131') but it doesn't work, how should I write the codes for twitter to recognize them as emojis?. (semicolons were omitted here)

我结束了将表情符号字符直接复制到代码🏆中的工作,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM