Pagination in Custom Connector - Custom Cursor #36478
Unanswered
AnnamherR
asked this question in
Connector Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, Can anyone help me using the cursor Pagination in the custom builder using the sample below data
Having trouble how to create the Cursor Value and Stop Condition.
{ "data": [ ... Endpoint data is here ], "paging": { "cursors": { "after": "MTAxNTExOTQ1MjAwNzI5NDE=", "before": "NDMyNzQyODI3OTQw" }, "previous": "https://graph.facebook.com/{your-user-id}/albums?limit=25&before=NDMyNzQyODI3OTQw" "next": "https://graph.facebook.com/{your-user-id}/albums?limit=25&after=MTAxNTExOTQ1MjAwNzI5NDE=" } }
reference: https://developers.facebook.com/docs/graph-api/results/
I'm trying to use the below, but not working.
`Cursor Value
{{ response.paging.cursors.after }}
Stop Condition
{{ response.paging.cursors.after is false }}
`
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions