Live data from Hacker News

Are you a Facebook employee?

facebook.com

101–110 of 113 posts

Re: Are you a Facebook employee?

#101

Earlier quoted context omitted.

600,343 (343rd user at Penn) Assuming similar adoption rates at the 4 other "second wave" schools, I'm probably one of the first 5-10k users of Facebook.

504731 - 4731st at Dartmouth. They opened it during exam week when everyone was in the library and nearly the entire school registered on one day.

lemmings.

Re: Are you a Facebook employee?

#104
post #51

I think this is_fb_employee variable is to check if they should be running the internal testing version of Facebook. Facebook has a subdomain which, in their offices everyone is redirected to. It's something like 'preview.facebook.com'. It houses the latest testing build of Facebook. This way all the employees are testing Facebook just by being on it, and they have other people testing their new builds for short peri…

I don't understand. If they're proxying requests, what would this variable ever be used for? This is at an endpoint for a client or their javascript to consume (or just as a recruiting-marketing tool). That would be redundant if they're proxying requests and insanely silly if it's the only way (instead of proxying) that they flex new features on... as they'd be visible in the javascript and it would be trivial to spo…

Perhaps an iphone / ipad / android client that makes this request to decide what skin to wear. Just sayin'

Re: Are you a Facebook employee?

#106

Earlier quoted context omitted.

I don't understand. If they're proxying requests, what would this variable ever be used for? This is at an endpoint for a client or their javascript to consume (or just as a recruiting-marketing tool). That would be redundant if they're proxying requests and insanely silly if it's the only way (instead of proxying) that they flex new features on... as they'd be visible in the javascript and it would be trivial to spo…

Perhaps an iphone / ipad / android client that makes this request to decide what skin to wear. Just sayin'

I might not know enough about this to say anything, but that would make sense for the Facebook iPad app because I would assume people rarely use their iPads while working (http://techcrunch.com/2011/07/25/facebook-ipad-app-pictures/)

Re: Are you a Facebook employee?

#107
post #51

I think this is_fb_employee variable is to check if they should be running the internal testing version of Facebook. Facebook has a subdomain which, in their offices everyone is redirected to. It's something like 'preview.facebook.com'. It houses the latest testing build of Facebook. This way all the employees are testing Facebook just by being on it, and they have other people testing their new builds for short peri…

Actually, we do know when you are on the Facebook corp network and can filter by that, but we rarely gate on that. We have a system we call gatekeeper for controlling the launch of new features. If I'm coding up something new I'll usually just add my own user ID (we call GUIs in Facebook FBIDs) first. The gatekeeper system is a very full featured roll-out system. I can launch to just employees, 1% of users world wide, Facebook users in Peru, viral growth mechanism, etc..

We also maintain a robust employee list that is cached in APC on every web host that you can always call an is_employee style function for any user ID on. The careers site in particular has some employee only functionality that this endpoint is probably checking.

Re: Are you a Facebook employee?

#108
post #79
post #64

According to Facebook, I might be soon an employee. {"is_fb_employee":"maybe soon? https://www.facebook.com/careers/department.php?dept=engineering"}

They changed it since this hit the top of Hacker News, I'm REALLY impressed with the speed of rolling something like that out on the fly.

No, they haven't; if you open it in a new tab the referrer goes (at least in Safari), so you get 'false' - just click on the link in the same window and you'll get 'maybe'.

Re: Are you a Facebook employee?

#109
post #47

Now, if you were to browse Facebook through a proxy that always tampered with this result in transit to say you were an employee... might some stray client-side code do anything interesting because it trusted that response?

try it and find out. I doubt anything ever even hits that programmatically.

Re: Are you a Facebook employee?

#110
It appears that this web service has a rather obvious defect, the Content-Type is set to "text/html; charset=utf-8" yet, the response body seems to be JSON rather than HTML. The proper Content-Type should be "application/json" with Content-Disposition to "inline". Perhaps they didn't do this since some browsers ignore the Content-Disposition with this Content-Type, and prompt to download the content regardless.

Even so, "text/html" is still wrong. Since the content actually isn't intended for a JSON parser, but, a human, "text/plain" would be the most conservative (and not wrong).

Post reply on HN