title: Get JSON Facebook Graph API User Info with jQuery
body: <p>I am trying to use the graph API to get just some basic info about a user no need for authorization by the user just the public details. I am trying to use jQuery and the .getJSON to get the data and parse it but I am having a hard time trying to figure out how to access the key value pairs I want.</p>
  
  <p>I want to have something like</p>
  
  <pre><code>var fburl = "http://graph.facebook.com/USER/callback=?"
  
  $.getJSON(fburl, function(data){
    $.each(data, function(i,item){
       var name = item.user["name"];
       $("#profile").append("&lt;h3&gt;"name"&lt;/h3&gt;");
    });
  });
  </code></pre>
  
  <p>ive tried things like item.name and a bunch of other what I figured to be potential syntax options but still getting undefined.</p>
  
  <p>Is there anything wrong with this approach I only really have experience using JSON with twitter API which works fine with the above approach.</p>
  
  <p>When I console log data I get something like this</p>
  
  <pre><code>first_name: "First"
  gender: "male"
  id: "8977344590"
  etc...
  name: "Full Name"
  </code></pre>