title: return query results from FB.api call with custom function
body: <p>I have this code:</p>
  
  <pre><code>getThirdPartyID : function () {                     
      return FB.api("/me?fields=third_party_id", function (userData) { 
          console.debug("Your Facebook ThirdPartyId is: " + userData["third_party_id"]);
          return userData["third_party_id"];
      });
  },
  </code></pre>
  
  <p>But it returns empty. Whats the problem with this code? How can I access it with the same idea? tnx</p>