hollybabaran / RSketchDaily

1 stars 0 forks source link

GalleryView: not all comments are loaded (currently hidden by hard 30 limit) #23

Open hollybabaran opened 8 years ago

hollybabaran commented 8 years ago

even when there are >100

hollybabaran commented 8 years ago

I believe this is due to automatic pagination on reddit's end when you query a json of the post-- you get a slice of all possible listings and you can request to download the rest:

"Listings do not use page numbers because their content changes so frequently. Instead, they allow you to view slices of the underlying data. Listing JSON responses contain after and before fields which are equivalent to the "next" and "prev" buttons on the site and in combination with count can be used to page through the listing." -- from the reddit API overview