facebook graph api - Limit fields using JavaScript SDK Batch Request -


Is it possible to limit the areas returned by Facebook's Batch Request API using Javascript SDK? For example:

  FB.api ('/', 'POST', {batte: [[method: 'GET', relative_url: 'me'}, ...]}, Function (feedback) {console.log (response);});   

The first method of batch request above gives the full user graph. However, what if I wanted to get only some fields (like first_name and last_name) Something like this will be good, but will not work:

  Batch: [[method: 'GET', relative_url: 'me', fields: 'first_name, last_name'}, ..    

With some requests, you can & amp; Fields = added to the end of the url like / me? Fields = first_name, last_name

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -