Use Code To Track Your Friends' Sleeping Habits With Facebook

Facebook Messenger is able to track when your friends were last on the social media platform. There is now a tool that uses the data collected from Messenger to track just how much sleep your friends are getting and the creator has made the source code available on GitHub. Here's how it works.

Humans are innately curious creatures. We want to know what's going on and who's doing what. That is a big reason why Facebook and other social media platforms have become so popular. We know what our friends eat, when they go on holidays, what they did on the weekend. Now there is a tool to track their sleeping patterns.

fb-sleep is able to check Facebook every 10 minutes to track what time your friends are logging on and off Facebook and aggregates that information to looks at long periods of inactivity.

As Søren Louv-Jansen, the creator of this tool explains:

Many people visit Facebook as the first thing in the morning, and the last thing before going to bed. It is therefore possible to get a good impression of their sleeping habits (or lack thereof).


The source code for fb-sleep is available on GitHub. You can clone the repository to run the tool locally to start tracking your friends' sleep patterns and take Facebook stalking to a whole new level.

Louv-Jansen gives additional information on how he made the tool over at Medium.

[Via Medium]


    Why are you automatically assuming that a long break from FB/Messenger is associated with sleep? I know many people who, mainly for work reasons, cannot access their FB for long peiods. Think doctors and nurses who do nightshifts (would you like your surgeon updating his status while operating on you!), people who fly or work in remote areas and don't have access to internet. The list goes on.
    Why do people want to know this anyway?? Get a life!!

Join the discussion!

Trending Stories Right Now