Live data from Hacker News

Graphing when your Facebook friends are awake

defaultnamehere.tumblr.com

21–30 of 200 posts

Re: Graphing when your Facebook friends are awake

#21

>Similarly, I’m not sure why there are these weird spikes every three minutes (+- ~1minute) sometimes. Could these just be keep-alive requests? For example, the mobile app checks whether it's still connected?

Good point!

I didn't think of that.

3 minutes does seem like the kind of time an engineer would code into their app.

So does that mean that the spiky periods are times when people are online the whole time?

Re: Graphing when your Facebook friends are awake

#22

inb4 facebook resolves this issue by banning anyone who's connected 24/7. (that wouldn't solve the problem either way, btw -- a small group of people could conspire to pull this data at irregular intervals and then share the data with one-another to get a more complete picture while still staying reasonably undetectable if done right.)

mfw banned

Re: Graphing when your Facebook friends are awake

#23
post #13

What determines whether the app is online? What happens when the user is using the phone but FB is in the background? Does FB get some kind of update when the user is active on device? Or do OP's friend live in the FB app all day long?

Hi, I wrote this blog post. I have no idea what the Facebook apps (Messenger and the Facebook app) do in the background. It's easy to test that, but I didn't because #yoloswag

You're a funny person.

Re: Graphing when your Facebook friends are awake

#24

>Similarly, I’m not sure why there are these weird spikes every three minutes (+- ~1minute) sometimes. Could these just be keep-alive requests? For example, the mobile app checks whether it's still connected?

Good point! I didn't think of that. 3 minutes does seem like the kind of time an engineer would code into their app. So does that mean that the spiky periods are times when people are online the whole time?

>So does that mean that the spiky periods are times when people are online the whole time?

I'd be inclined to think so, but I don't work for Facebook, there may be an entirely different reason :)

Edit: or maybe, maaaybe, it's the point of time when people fall asleep over their mobile - they've stopped interacting with the app, it still sends a few keep-alive requests, and then logs itself out.

Re: Graphing when your Facebook friends are awake

#25
post #3

Some people might take issue with it, but the writing for this had me in stitches. I very much agree with the author on graphing libraries - there are a few good simple ones, but as soon as you want anything unusual you have to jump to these big, hard to configure monstrosities. More than once I've just given up and written my own server-side generator.

This was the funniest writing style since the WAT talks lol

Re: Graphing when your Facebook friends are awake

#27
I like to do this sort of web spelunking all the time.. But the writing and humor really make this more enjoyable than it should be! Of course Facebook leaks info to you about your friends - that is the sole attraction for people to use it! Seems like you could turn this thing into a browser extension as well if you felt daring.. Like some sort of FB snooper.

Re: Graphing when your Facebook friends are awake

#28
I don't have a Facebook account, but is there really no way to not share your available status to your friends? In Gmail you can simply sign out of Hangouts.

On a side note,

> If you’re wondering why the response starts with “for (;;);”, it’s to, among other things, encourage developers to use a quality JSON decoder, instead of like, y’know, eval().

This is wrong, as I commented on the linked StackOverflow post, perhaps a bit too strongly. But it's really frustrating to see that people have misconceptions because of incorrect answers on StackOverflow.

Re: Graphing when your Facebook friends are awake

#29
post #3

Some people might take issue with it, but the writing for this had me in stitches. I very much agree with the author on graphing libraries - there are a few good simple ones, but as soon as you want anything unusual you have to jump to these big, hard to configure monstrosities. More than once I've just given up and written my own server-side generator.

What's striking about this writing style is that (as a junior dev) it's a lot easier to understand what he's doing.

By sticking to jokes and a simple style, I never felt confused or lost in lingo.

Re: Graphing when your Facebook friends are awake

#30
It would be real creepy if someone does the same thing for Whatsapp, you can even predict who's talking to each other much better than Facebook. It's a bit harder to collect data from web.whatsapp.com because it's using Websockets but let me know if someone develop such tool and publish it on Github. :)
Post reply on HN