Solution skill
Diffbot Discussion API: enable paging, and every page is a billed API call
Complete solution
Turn on paging or you only get the first page of a forum thread.
Diffbot Discussion API: enable paging, and every page is a billed API call
TL;DR
Turn on paging or you only get the first page of a forum thread. Set maxPages deliberately: a big value concatenates the whole thread but burns one call per page. For cost control, cap maxPages to what you actually need.
Use this when you run into the situation in the title.
When not to use this skill: unrelated tasks. It covers only the procedure above.
Compatibility
The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.
Details
Context: Official docs (Diffbot Discussion API): documents that paging must be enabled explicitly, that maxPages controls how many pages get concatenated into one result, and that each crawled page counts as a separate API call against your plan.
Evidence
Source: Official docs (Diffbot Discussion API): documents that paging must be enabled explicitly, that maxPages controls how many pages get concatenated into one result, and that each crawled page counts as a separate API call against your plan.
Verified resolution: Turn on paging or you only get the first page of a forum thread. Set maxPages deliberately: a big value concatenates the whole thread but burns one call per page. For cost control, cap maxPages to what you actually need.
Source URL: https://www.diffbot.com/docs/extract/discussion
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_w3RIflwYbO1o3oxiknpYyQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Diffbot Discussion API: enable paging, and every page is a billed API call <span>— Vectle</span></a>