We all have a vague idea of who we interact with most on Facebook. For most of us, it’s our best friends, our significant others, or (if you’re like me and use Facebook Groups as a project management tool/communications backchannel for your startup) your business partners. But the hack I’ll describe below will let you see the some of the interaction data Facebook hides from you. You’ll find it in a file called bootstrap.php, which contains a JSON object with the data you’re looking for. What is this bootstrapping craziness, you ask? Well, it’s kind of technical. Basically, every server-side request is funneled through one file, bootstrap.php, which will help Pages on a website instantiate objects it needs, such as connecting to a database, starting a session and defining constants and default variables. Bur for our purposes, we’re going to access the bootstrap.php file to see who and what Facebook thinks we like best.
Note: I deliberately pulled up the Bootstrap.php file containing Page data so as not to compromise the privacy of my friends. The data Facebook returns for Pages is nearly identical to individuals’ Profiles/Timelines. Click here if you want a full zoom.
For the sake of example, I’ll use the first result, the Facebook Page for Mergenote, my startup. Just copy-pasting the JSON data from the payload yields data which isn’t terribly easy to read. Take a look:
{"uid":118250231584204,"type":"page","text":"MergeNote","photo":"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-snc4/277183_118250231584204_284248105_q.jpg","path":"/MergeNote","category":{"__html":"Chicago, IL u00b7 Education"},"index":-59.851668204},
So let’s make it prettier:
{ "uid":118250231584204, "type":"page", "text":"MergeNote", "photo":"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-snc4/277183_118250231584204_284248105_q.jpg", "path":"/MergeNote", "category":{"__html":"Chicago, IL u00b7 Education"}, "index":-59.851668204 },
There. Much better.
Note: People familiar with Facebook’s API can skip to the next section. If you’re curious, you can look at the documentation for Page objects on the Facebook Platform here, and skip to the next section.
Like most “secret sauces”, the index’s value is presented as-is, and we don’t know what goes into generating it. Think of Facebook’s, or any other algorithm as a kind of recipe. There are certain “ingredients” put into a ranking algorithm, and each of these parameters is added in specific amounts. Facebook does all the calculations in the background and returns the value result in the “index” field. It’s a secret recipe. The algorithm in question is likely a modified version Facebook’s EdgeRank algorithm, which the social network uses to serve users relevant content from the people they’re close to. I’m inclined to believe Facebook has two very similar versions of the EdgeRank algorithm: one for Pages and another for People. This could explain why Facebook serves up two bootstrap.php files, one of which contains Pages data, the other containing People data.
Image Credit: ladyxtel.com
Or, at least, this is what I’ve gathered.
So, there you have it. Now you can see who and what Facebook thinks you most interact with. Happy digging! A big thanks to the folks on Reddit’s r/facebook for bringing this story to my attention.
HostMilano 2025 concluded its 44th edition on October 26 and remains the premier world fair…
As the new year approaches, the Software Report—a trusted source for market research and industry…
Now that AI has been on the scene for a number of years, we can…
The rapid evolution of orthopedic technology is no longer being driven by devices alone. Instead,…
The credentialing industry’s calendar is turning toward Phoenix this month, where the I.C.E. Exchange will…
Deduction today announced the launch of “Taylor, CPAI,” the first AI tax accountant built for…