📜 ⬆️ ⬇️

Twitter has published a collection of 872 "emoticons"


Twitter laid out in open access under a free license a set of 872 emoji (emoticons) that can be freely used in their projects.

The content of the collection was published on Github . The program code is licensed under the MIT license ; the schedule is CC-BY 4.0 .

Support for the Emoji Twitter collection is already built into WordPress . For example, Windows users can copy-paste images from this table , and Mac users can use the keyboard shortcut Command + Control + Space in a text editor.

Emodzhi were invented in Japan in 1998 or 1999 specifically for the i-mode mobile Internet service of the mobile operator NTT DoCoMo. It is a graphic language that literally allows you to communicate without words. Instead of a short replica, it is often appropriate to insert an ideogram into the chat (picture).
')

Emoji is now standardized and included in the Unicode suite . The collection from Twitter is compatible with the latest version of Unicode 7.0 .

In order to figure out how to enable emodzhi support on your site, it is strongly recommended to study the preview.html demo . Actually, all support is to connect the library twemoji.js.

 <script src="//twemoji.maxcdn.com/twemoji.min.js"></script> 

For a more advanced version, you can use the parse method, which is supported by the twemoji.js library.

Here is a snippet

 twemoji.parse('I \u2764\uFE0F emoji!');</script> 

will be converted to html code

 I <img class="emoji" draggable="false" alt="❤" src="//abs.twimg.com/emoji/v1/36x36/2764.png"> emoji!</script> 

See also very useful tips on using the library.

Source: https://habr.com/ru/post/362669/


All Articles