6 ms·
So, what's the point?
by h00k 15y ago
So, what's the point?
- hugh3 15y agoWell, maybe you got hired by facebook but can't remember. If you check this and it says yes, you'd better hurry up and go to work!
- seanalltogether 15y agoHonestly I'm not sure. Facebook's crossdomain policy disallows access from external domains, so you can't load this from a random Flash or JS script.
- gibybo 15y agoHm, I think you can still invoke it jsonp style and overload the Object constructor in older browsers though, right? This would not only tell you whether they were a FB employee, but perhaps more importantly, their facebook UID without needing them to agree to any OAuth access.
- dbloom 15y agoThat only works if it's surrounded by parenthesies. A bare object literal is not syntactically valid JavaScript.
- sxtxixtxcxh 15y agoi think jquery can deal with a straight json response, but i may be wrong.
- flyt 15y agois_fb_employee() is an internal FB function that can be used to gate features to employees only on facebook.com.
- deleted 15y ago[deleted]
- ristretto 15y agoI assume there's a flash app in the company intranet which checks if you're still hired every hour.
- Steve0 15y agoIt's related to release management, see this video: https://www.facebook.com/video/video.php?v=10100259101684977&oid=9445547199 https://www.facebook.com/video/video.php?v=10100259101684977... . In short: FB employees get to see the new features first, and are encouraged to submit bug reports.
- untog 15y agoI imagine there would be some utility in knowing whether FB employees use your site/app. Though there'd be some complex cross-domain issues to solve first.
- deleted 15y ago[deleted]