Cloudkibo / OldKiboEngage

MIT License
0 stars 0 forks source link

Logic to send Emojis to Facebook Client #293

Closed zarmeen92 closed 7 years ago

zarmeen92 commented 7 years ago

Add a backend logic for sending Emojis to Facebook client Dependency: #292

ImranBinShoukat commented 7 years ago

This task has been completed.

jekram commented 7 years ago

Thanks

zarmeen92 commented 7 years ago

emojis are not appearing on Fb Messenger @ImranBinShoukat screen shot 2017-04-03 at 11 42 48 am

ImranBinShoukat commented 7 years ago

Worked on this task. Actually react-emoji-picker uses twemoji which converts annotations (like : smile : , ) into emoji images ( :smile: ) but it seems that Facebook doesn't support twemoji.

I have investigated these libraries:

https://github.com/tommoor/emojione-picker https://github.com/StevenIseki/react-emojipicker https://github.com/missive/emoji-mart

Although all of them also uses twemoji but it returns the unicode as well. And Facebook does convert a unicode into emoji image.

I will discuss about these libraries with @zarmeen92 tomorrow and pick the one for our app.

ImranBinShoukat commented 7 years ago

This is fixed now. I have replaced the https://github.com/chadoh/react-emoji-picker with https://github.com/StevenIseki/react-emojipicker and now its working fine.

zarmeen92 commented 7 years ago

screen shot 2017-04-11 at 5 18 40 pm

Code reviewed and merged. Also pulled in production

jekram commented 7 years ago

Thanks