Facebook-chat-api: how to send emoji as message?

Created on 29 Mar 2017  路  7Comments  路  Source: Schmavery/facebook-chat-api

when I try to send emoji as message, node js doesn't recognize the special character. what should I do?

Most helpful comment

yes thank you!

All 7 comments

How are you sending the message?

I'm on node v7+ on a mac and sending a message like this works for me:

api.sendMessage(`Playing ${songname} 馃槉`, message.threadID); 

There are some emojis on mac that are not supported in fb chat, which emojis are you trying to use?

i just put the emoji, what does playing ${songname} do? maybe because im on version 6.10

@y9y9l5m6 That's just an example of my code from a music bot thats working. Some more information would be helpful in debugging this such as:

  • how you're sending the message
  • what emoji you're trying to send
  • your operating system
  • any specific errors you're getting

thank you

@y9y9l5m6 is it working for you now?

yes thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Hraph picture Hraph  路  6Comments

nripendra picture nripendra  路  8Comments

MikeShi42 picture MikeShi42  路  9Comments

thaspoom picture thaspoom  路  5Comments

tawan475 picture tawan475  路  6Comments