Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

5
Searching by parent_id has been fixed
Author Summary
Stuck_In_the_Matrix is in Idaho
Post Body

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:

https://api.pushshift.io/reddit/search/comment/?parent_id=ec6y00k&filter=parent_id,body,author,subreddit,created_utc,id

or

https://api.pushshift.io/reddit/search/comment/?parent_id=t1_ec6y00k&filter=parent_id,body,author,subreddit,created_utc,id

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.

Author
Account Strength
100%
Account Age
11 years
Verified Email
No
Verified Flair
No
Total Karma
143,730
Link Karma
34,810
Comment Karma
108,242
Profile updated: 2 hours ago
Posts updated: 6 months ago

Subreddit

Post Details

Location
We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago