30.03.2016 Views

Hacker Bits, April 2016

HACKER BITS is the monthly magazine that gives you the hottest technology and startup stories crowdsources by the readers of Hacker News. We select from the top voted stories for you and publish them in an easy-to-read magazine format. Get HACKER BITS delivered to your inbox every month! For more, visit http://hackerbits.com.

HACKER BITS is the monthly magazine that gives you the hottest technology and startup stories crowdsources by the readers of Hacker News. We select from the top voted stories for you and publish them in an easy-to-read magazine format.

Get HACKER BITS delivered to your inbox every month! For more, visit http://hackerbits.com.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

What are those about? (see Figure<br />

1)<br />

I was wondering the same<br />

things, and so one day I decided<br />

to 360 noscope hack Facebook<br />

by right clicking and selecting<br />

“Inspect Element.” (see Figure 2)<br />

I’m in<br />

We did it team. Anyway alright,<br />

uhhhh, let’s just, uh, snoop<br />

around here reallllll sneaky-like.<br />

If you reload the page you’ll<br />

see approximately fifty-bajillion<br />

network requests go off as Facebook<br />

desperately tries to load all<br />

the junk that it needs to display<br />

facebook.com.<br />

You might be wondering at<br />

this point why I decided to look<br />

for interesting things in this<br />

mess instead of, I dunno, getting<br />

out more, getting a cat, that<br />

sorta thing. Anyway hey look a<br />

heading.<br />

Finding the good<br />

stuff<br />

What’s this “pull” thing? (see<br />

Figure 3)<br />

THAT looks like some #datascience<br />

right there. This is the<br />

kind of 100% legit secret undocumented<br />

“API” that we came<br />

here for. Let’s do some reverse<br />

engineering.<br />

It looks like a mapping of<br />

Facebook user ids to… their<br />

online status? But there’s more<br />

than one value? “webStatus” and<br />

“fbAppStatus” are both there.<br />

What’s more, it tells you what<br />

the person is doing on each of<br />

the different kinds of statuses.<br />

For example:<br />

• “messengerStatus” : “invisible”<br />

means they’re not<br />

online on the Facebook Messenger<br />

app.<br />

Figure 1: Little green dots<br />

Figure 2: Inspect element<br />

hacker bits<br />

41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!