Hi for example there is a post contains 200 comments and I just wanted to scrape the 100 comments of that.
How should I set the next_cursor for this?
The next_cursor should like this: {"cached_comments_cursor": "17915386490497488", "bifilter_token": "KE0BEABoAEAAIAAYABgAEAAIAAgAfWFNX-bmOSy-_sM9f3P_y9a7xu6dNftjRIxqus2bc_Xd5__v2v2k52PfjT4vRniZPgOC0yRZMj5BAAA="}.
{"cached_comments_cursor": "17915386490497488", "bifilter_token": "KE0BEABoAEAAIAAYABgAEAAIAAgAfWFNX-bmOSy-_sM9f3P_y9a7xu6dNftjRIxqus2bc_Xd5__v2v2k52PfjT4vRniZPgOC0yRZMj5BAAA="}
My end cursor in the first run is:
end_cursor": “{“cached_comments_cursor”: “17925341924053814”, “bifilter_token”: “KFYBFABoAEAAKAAgABgAEAAIAAgACAAIAH1hTVXm5jksvv7DHX9z_8rWu8bunV8g9fcMXrzpmMTzb-qVDT77_-_b9pOdj3xp8XtniZOgcomCNEJq60JyIAA=”}”
and I set the below value to end_cursor in next runs:
KFYBFABoAEAAKAAgABgAEAAIAAgACAAIAH1hTVXm5jksvv7DHX9z_8rWu8bunV8g9fcMXrzpmMTzb-qVDT77_-_b9pOdj3xp8XtniZOgcomCNEJq60JyIAA=\
but I get this error:
“500 - {“message”:“execution failure”,“errors”:[{“message”:“execution error”,“locations”:[]}],“data”:{“shortcode_media”:null},“status”:“fail”}”
Junte-se à discussão - adicione o comentário abaixo:
The next_cursor should like this:
{"cached_comments_cursor": "17915386490497488", "bifilter_token": "KE0BEABoAEAAIAAYABgAEAAIAAgAfWFNX-bmOSy-_sM9f3P_y9a7xu6dNftjRIxqus2bc_Xd5__v2v2k52PfjT4vRniZPgOC0yRZMj5BAAA="}
.My end cursor in the first run is:
end_cursor": “{“cached_comments_cursor”: “17925341924053814”, “bifilter_token”: “KFYBFABoAEAAKAAgABgAEAAIAAgACAAIAH1hTVXm5jksvv7DHX9z_8rWu8bunV8g9fcMXrzpmMTzb-qVDT77_-_b9pOdj3xp8XtniZOgcomCNEJq60JyIAA=”}”
and I set the below value to end_cursor in next runs:
KFYBFABoAEAAKAAgABgAEAAIAAgACAAIAH1hTVXm5jksvv7DHX9z_8rWu8bunV8g9fcMXrzpmMTzb-qVDT77_-_b9pOdj3xp8XtniZOgcomCNEJq60JyIAA=\
but I get this error:
“500 - {“message”:“execution failure”,“errors”:[{“message”:“execution error”,“locations”:[]}],“data”:{“shortcode_media”:null},“status”:“fail”}”