TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Are you a Facebook employee?

191 点作者 antichaos将近 14 年前

21 条评论

slug将近 14 年前
{"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 未加载
helloburin将近 14 年前
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 :)
gojomo将近 14 年前
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 未加载
goldmab将近 14 年前
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 未加载
Jarred将近 14 年前
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 未加载
ry0ohki将近 14 年前
I'm not? What the hell was that walk in the woods for then??!!
评论 #2851179 未加载
yid将近 14 年前
For what it's worth, I am, and I still get a 0.
评论 #2851064 未加载
评论 #2851092 未加载
评论 #2851088 未加载
评论 #2851175 未加载
评论 #2851077 未加载
评论 #2851086 未加载
base2john将近 14 年前
{"user":842915,"is_fb_employee":"Dish Washer"} ? WTF?
评论 #2851306 未加载
csomar将近 14 年前
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 未加载
taylorbuley将近 14 年前
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>}
clarkevans将近 14 年前
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).
swapsmagic将近 14 年前
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.
pettazz将近 14 年前
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 未加载
richchan将近 14 年前
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.
dreamdu5t将近 14 年前
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?
Shenglong将近 14 年前
Can someone please edit a question mark into this title? It's frustrating me.
评论 #2851364 未加载
评论 #2851207 未加载
mahmud将近 14 年前
<p><pre><code> ln -s user_info.php user_info</code></pre>
the_cat_kittles将近 14 年前
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 未加载
h00k将近 14 年前
So, what's the point?
评论 #2851070 未加载
评论 #2851085 未加载
评论 #2851183 未加载
评论 #2851193 未加载
评论 #2851072 未加载
评论 #2851479 未加载
评论 #2851114 未加载
leon_将近 14 年前
let's build a better and stronger platform for ... clicking virtual cows!
Kirchart123将近 14 年前
{"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