TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Are you a Facebook employee?

191 pointsby antichaosalmost 14 years ago

21 comments

slugalmost 14 years ago
{"is_fb_employee":"maybe soon? <a href="https://www.facebook.com/careers/department.php?dept=engineering" rel="nofollow">https://www.facebook.com/careers/department.php?dept=enginee...</a>}
评论 #2852773 未加载
评论 #2851434 未加载
评论 #2852138 未加载
评论 #2851419 未加载
评论 #2851514 未加载
helloburinalmost 14 years ago
I think it checks the referral page you came from when clicking it and shows the {"is_fb_employee":"maybe soon? <a href="https://www.facebook.com/careers/department.php?dept=engineering" rel="nofollow">https://www.facebook.com/careers/department.php?dept=enginee...</a>} when coming from HN.<p>If I open a new window and copy/pasta the URL, it'll say false :)
gojomoalmost 14 years ago
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?
评论 #2853336 未加载
goldmabalmost 14 years ago
That's cute but it's not accurate. I interviewed there <i>over two years ago</i> and I appear to be blacklisted, since whenever I look at any of their job descriptions I get this:<p>"Hey, we have reviewed your application and unfortunately don't have an opening for you."<p>I can't really square that with "Maybe soon?"
评论 #2851727 未加载
Jarredalmost 14 years ago
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 periods of time (~2 weeks). Chances are, the server checks if the user is at an IP of a Facebook office, and that's the only condition where this is true. This would make sense because if they just redirect users to Facebook.com in their offices to preview.facebook.com, then nearly anyone could do it. This would also help prevent leaking of new features as well, because employees wouldn't be able to access them outside of Facebook.<p>They mention this in the Facebook Effect (<a href="http://www.amazon.com/Facebook-Effect-Inside-Company-Connecting/dp/1439102112" rel="nofollow">http://www.amazon.com/Facebook-Effect-Inside-Company-Connect...</a>). Or, at least the part about an subdomain for testing their website in-house. Everything else was me analyzing that.
评论 #2852928 未加载
评论 #2851259 未加载
评论 #2851958 未加载
ry0ohkialmost 14 years ago
I'm not? What the hell was that walk in the woods for then??!!
评论 #2851179 未加载
yidalmost 14 years ago
For what it's worth, I am, and I still get a 0.
评论 #2851064 未加载
评论 #2851092 未加载
评论 #2851088 未加载
评论 #2851175 未加载
评论 #2851077 未加载
评论 #2851086 未加载
base2johnalmost 14 years ago
{"user":842915,"is_fb_employee":"Dish Washer"} ? WTF?
评论 #2851306 未加载
csomaralmost 14 years ago
According to Facebook, I might be soon an employee.<p><pre><code> {"is_fb_employee":"maybe soon? https://www.facebook.com/careers/department.php?dept=engineering"}</code></pre>
评论 #2851666 未加载
评论 #2851455 未加载
taylorbuleyalmost 14 years ago
Well played, Facebook:<p>{"is_fb_employee":"maybe soon? <a href="https://www.facebook.com/careers/department.php?dept=engineering" rel="nofollow">https://www.facebook.com/careers/department.php?dept=enginee...</a>}
clarkevansalmost 14 years ago
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.<p>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).
swapsmagicalmost 14 years ago
Ok looks like if the url is referred from Hacker News, then they are displaying, {"is_fb_employee":"maybe soon? <a href="https://www.facebook.com/careers/department.php?dept=enginee..." rel="nofollow">https://www.facebook.com/careers/department.php?dept=enginee...</a>}<p>Even if you are logged out.<p>I am not an facebook employee so if i just paste the url in address bar and enter it, it shows: is_fb_employee: false with my UID.<p>If i logged out, it shows UID: 0 with is_fb_employee: false.<p>It's a nice idea to attract ppl from different site and based on the site domain, give them relevant career page url. (May be an intern project)<p>So for HN, it's engineering career page, if the referral site is relevant to some other domain (i.e. sales/marketing) then they will give <a href="http://www.facebook.com/careers/department.php?dept=sales" rel="nofollow">http://www.facebook.com/careers/department.php?dept=sales</a>.<p>Not sure how much data facebook have of other websites for categorizing majority of the websites in to different domain, but i feel Google can do much better with the same concept.
pettazzalmost 14 years ago
I'm going to start using this as an endpoint for stats checks on my own stuff to see if Facebook employees are visiting my site.
评论 #2851151 未加载
评论 #2851233 未加载
richchanalmost 14 years ago
I hope there isn't a flash app on Facebook that is using just that to decide whether to show an employee/admin interface.. Will be quite easy to spoof the result of that page if it is client-side.
dreamdu5talmost 14 years ago
Who cares? Getting excited over some random graph value used internally... okay?<p>I mean, I already assumed FB had a staging server. Why does this interest people so much?
Shenglongalmost 14 years ago
Can someone please edit a question mark into this title? It's frustrating me.
评论 #2851364 未加载
评论 #2851207 未加载
mahmudalmost 14 years ago
<p><pre><code> ln -s user_info.php user_info</code></pre>
the_cat_kittlesalmost 14 years ago
wow, I am the 49,200,124th user? we should see who can get the lowest score...
评论 #2851076 未加载
评论 #2851380 未加载
评论 #2851174 未加载
评论 #2851202 未加载
评论 #2851143 未加载
评论 #2851079 未加载
评论 #2851104 未加载
评论 #2851235 未加载
评论 #2851074 未加载
评论 #2851708 未加载
评论 #2851211 未加载
评论 #2851214 未加载
h00kalmost 14 years ago
So, what's the point?
评论 #2851070 未加载
评论 #2851085 未加载
评论 #2851183 未加载
评论 #2851193 未加载
评论 #2851072 未加载
评论 #2851479 未加载
评论 #2851114 未加载
leon_almost 14 years ago
let's build a better and stronger platform for ... clicking virtual cows!
Kirchart123almost 14 years ago
{"is_fb_employee":"maybe soon? <a href="https://www.facebook.com/careers/department.php?dept=engineering" rel="nofollow">https://www.facebook.com/careers/department.php?dept=enginee...</a>}<p>Maybe soon ... Engineering department .. I HOPE SO!<p>..im actually an engineer