I just implemented Emoji support in my extension using the open-source Twemoji library.
In the simplest form, it involves adding a .js
file and calling a function on a DOM element to replace Unicode emoji with Twitter CDN provided images:
twemoji.parse(node);
See the repository readme for more options.