In the facebook doc’s they wrote :
“By default, most object properties are returned when you make a query. You can choose the fields (or connections) you want returned with the “fields” query parameter. For example, this URL will only return the id, name, and picture of Ben: https://graph.facebook.com/bgolub?fields=id,name,picture
You can also request multiple objects in a single query using the “ids” query parameter. For example, the URL https://graph.facebook.com?ids=arjun,vernal returns both profiles in the same response.”
Is there way to use “?fields” and “?ids” together ?
meaning, getting 5 specific posts ids with 2-3 fields only , in one request.
Thanks.
Yes, it is possible. You can do something like this:
The problem is that it returns a large “metadata” object as well – I haven’t figured out how to avoid that – which will waste bandwidth.