When I'm getting one feed and all his comments, I query each comment id with : 170169929672639_320612368034130_1646407?fields=user_likes, to know if the current user likes the comment.
Is there a way to get all feed\comments (well not ALL, but the next group of comments) with the user_like field for each comment in one request (batch request/multy query fql/other)?
Gracias de antemano.
preguntado el 28 de agosto de 12 a las 10:08
The field expansion update to the Graph API will let you get all the likes for all comments on a feed - USER_ID?fields=name,feed.fields(comments.fields(likes)).
Link - https://developers.facebook.com/docs/reference/api/field_expansion/