How to get more posts?
Issue #24
on hold
Hey,
if I look for, say, the most popular posts
connection = OJOC.Connection.Connection(citycc='Berlin, DE')
pop = connection.popular_posts()
print len(pop['posts'])
then I find that I only get 30 posts (for popular and discussed but only 10 posts for recent)... on my mobile device it is way more...
Is there a way to get more popular/recent/discussed posts?
Thanks!
Comments (3)
-
-
repo owner - marked as enhancement
Yup, the posts methods should support the
after
parameter.Maybe I'll implement it someday or someone contributes a merge request
-
repo owner - changed status to on hold
- Log in to comment
I think this has something to do with the 'after' parameter. In my case i can pass a postID with 'after' and get the next posts after that post. Like some kind of paging.