title: How to query the Facebook Graph API with JSONP
body: <p>Shouldn't follow AJAX request with JQuery work?</p>
  
  <pre><code>$.getJSON('https://graph.facebook.com/138654562862101/feed?callback=onLoadJSONP');
  </code></pre>
  
  <p>I have defined a callback function named <code>onLoadJSONP</code>.</p>
  
  <p>But Chrome gives me a typical Same-Origin-Policy error:</p>
  
  <blockquote>
    <p>XMLHttpRequest cannot load
    <a href="https://graph.facebook.com/138654562862101/feed?callback=onLoadJSONP" rel="nofollow noreferrer">https://graph.facebook.com/138654562862101/feed?callback=onLoadJSONP</a>.
    Origin null is not allowed by
    Access-Control-Allow-Origin.</p>
  </blockquote>
  
  <p>I thought JSONP worked around that, what am I doing wrong?</p>