Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Could you not just request the .json feed whenever you like without limits? ( by appending .json to the reddit URL )


I'm a little new to this but my understanding is that that would be the same as doing a GET request to the REST API. Which would have the same penalty for going over 30 req/s without an OAuth token.

For example, this is what my get request to the REST endpoint looks like without URL parameters:

GET reddit.com/r/explainlikeimfive/comments/2w1xzo.json

Which returns the same response as appending .json to the the URL:

https://www.reddit.com/r/explainlikeimfive/comments/2w1xzo/e...


Note that almost all subreddits only let you travel back 1,000 posts using the .json feed.

The exception is /r/all, which had infinite pagination, but the low API limits prevent much usability.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: