This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Thanks to /u/itsthejoker for pointing out the bug. There were two bugs causing issues with filtering by parent_id -- both have been fixed.
Working example:
or
both work.
The first bug was that parent_id was expecting a base 10 integer instead of a base 36 reddit style id. The second bug was that the request was being routed to PostgreSQL instead of Elasticsearch (using q=* would force the correct route).
Also, this only returns all first childs of a parent_id -- it does not return grandchildren comments, etc. The best way to handle that would be to request the entire submission using the link_id parameter and do the logic on your end to reconstruct trees.
In the future at some point, I can add the ability to get all branches below a comment id.
Subreddit
Post Details
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/pushshift/c...