The limit of Facebook's graph api "limit" parameter -
i'm fetching big amount of comments public page using facebook's graph api. default facebook returns 25 comments per response, , uses paging. causes need multiple requests, uneccesery know ahead there lot of comments.
i read "limit" parameter can pass inquire amount of items per response.
i wondering, limit of parameter? i'm assuming can't pass &limit=10000.
yes, limit parameter can pass number of resource want in 1 call. default limit 25.
for ex. if want 100 comment in 1 phone call post having id post_id, can query this:
https://graph.facebook.com/post_id?fields=comments.limit(100) facebook facebook-graph-api
No comments:
Post a Comment