Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How did Facebook implement the chat sidebar?

I'm trying to understand how Facebook implements the chat sidebar. It seems to stay there even as I change pages. For example, if I select some text inside the sidebar, then click to go to another Facebook page, the text remains selected. It's as if it was a separate frame, but when I look at the code, it's not.

like image 917
laurent Avatar asked Jan 11 '12 13:01

laurent


People also ask

How does Facebook choose who shows up in the chat sidebar?

Your chat sidebar works in a similar way. The algorithm chooses interactions, activity, communication, photos, etc. This determines which friends will show up on top and have priority. The friends that you communicate with most often will usually be first on this list.

What is Facebook chat sidebar?

Facebook Chat Sidebar. You may have noticed the new Facebook Chat Sidebar when you logged in to Facebook recently. The list of friends displayed in this sidebar is supposed to be the friends you interact with most. (A few friends and I are finding that the relevancy of the friends in this display is not that accurate!)

What happened to my chat sidebar on Facebook?

Facebook states, “The sidebar is sensitive to the amount of free space you have on your screen, so it only appears if there's enough room for it. If you don't see the sidebar, just click Chat in the bottom right corner of your screen, which shows the same list of friends you'll find in your sidebar.”

When did Facebook add chat?

Following tests of a new instant messaging platform on Facebook in March 2008, the feature, then-titled "Facebook Chat", was gradually released to users in April 2008. Facebook revamped its messaging platform in November 2010, and subsequently acquired group messaging service Beluga in March 2011, which the company ...


1 Answers

All requests are made trough AJAX calls. Only "content" container is replaced when needed.

You don't actually "go" to another page. Just the "content" div gets updated.

like image 172
Zeno Popovici Avatar answered Oct 11 '22 16:10

Zeno Popovici