Leaderboard
728x15
Showing posts with label Chat. Show all posts
Showing posts with label Chat. Show all posts

Facebook Chat Emoticons

A few nice image search images I found:


Facebook Chat Emoticons
image search
Image by schoschie
The emoticons sprite is at:
static.ak.fbcdn.net/images/emote/emote.gif?8:93872

The mapping is in
static.ak.fbcdn.net/rsrc.php/z96YQ/lpkg/6v4vdl8k/de_DE/14...
(line 1122, but this URL is probably randomized in some way, so it might no longer work for you.)

The identifiers to look for are emoteOrder and Emote._emoteMap.

The robot and putnam are not part of this sprite, they are two separate images:
static.ak.fbcdn.net/images/emote/robot.gif
static.ak.fbcdn.net/images/emote/putnam.gif

Of course people have dug this up before, at least a year ago. But while digging around in Facebook using Safari 4's web inspector, I happened upon the emoticons sprite and then challenged myself to find the mapping, which I did by chatting a little, looking at the markup created in the chat window (using the inspector; you cannot do this by looking at the page source since this markup is inserted into the DOM tree at runtime when you chat), noting the js functions (handlers), classes and id's used for the inserted emoticons and then searching for those functions/classes/id's in the Resources tab of the inspector. They showed up in one or two different javascript files, and I just browsed those two and the mapping is easy to spot as it's a relatively large blob of literal strings inside an array.

So, this was an exercise in »Don't Reinvent The Wheel Unless You Plan on Learning More About Wheels«.

Yes, I am very bored sometimes.

Update:
12kprincess in the comments below alerted me to a new one:
(^^^) becomes a shark. Pretty cool.
Shark image is at static.ak.fbcdn.net/images/emote/shark.gif

Update II
Also dug up by Kourdy, formerly known as 12kprincess.
<(") becomes static.ak.fbcdn.net/images/emote/penguin.gif


Here is a bit of background on that putnam guy:
20bits.com/articles/easter-eggs-in-facebook-chat/

»From there it was pretty easy. I just searched for the emoticons which revealed the complete list, including the :putnam: icon which is an Easter Egg. I’m guessing it’s an icon of Chris Putnam, a Facebook engineer.«

Former Facebook engineer, it seems. The link to his profile no longer works.

Leaderboard