News for hackers. Stuff that matters.
Re:Are you a Facebook employee? by pettazz on Friday August 05, 2011 @02:14PM (#2851048)
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.
Re:Are you a Facebook employee? by jannes on Friday August 05, 2011 @02:35PM (#2851151)
The same origin policy in browsers will stop you from doing that.
Re:Are you a Facebook employee? by romey on Friday August 05, 2011 @02:46PM (#2851204)
Can't you use a JSONP request?
Re:Are you a Facebook employee? by MiguelHudnandez on Friday August 05, 2011 @05:00PM (#2851749)
JSONP is a way to consume a feed from a willing website on a different domain name. I say "willing" because the feed must be presented in JSONP -- there is no way for you to alter a JSON feed into a JSONP feed without using some sort of proxy.

Because you'd need to use a proxy on your domain to convert the feed to JSONP, you would then lose access to the client's cookies for the target domain. That basically means that no, you can't use a JSONP request to defeat the same-origin policy.