facebook - How can I use cursors to paginate field-expanded queries? -
i can this:
/<post_id>/comments?filter=stream&limit=100&after=<cursor>
but doesn't work:
/<post_id>?fields=comments.filter(stream).limit(100).after(<cursor>)
am missing in syntax? though cursor-based paging , field expansion launched same time, respective docs don't reflect each other.
just figured out (i think).
most cursors have =
(equals sign) appended them. example: mza=
this causes syntax error in field expansion:
syntax error "expected ")" instead of '".' @ character 79: comments.filter(stream).limit(10).summary(true).fields(id,like_count).after(nda"
however, stripping trailing =
resolves syntax error , results seem paginate expected.
Comments
Post a Comment