Loadmore button for tweet feeds


#1

HI everyone,
I’m get tweet feeds but i just want my app display 10 feeds and it will have a button “load more” and when tap to button it will load 10 feeds next.
any suggest or help?
Thanks


#2

By tweets I assume you use twitter. On the initial tweet load, get the last tweets ID and when you click the button, send a call to the API with the since_id parameter and give it the last tweets ID. when you’ve fetched the next 10 tweets get the latest tweet ID again and so on. To limit the amount of tweets, use the count parameter.


#3

@qrgood good. I will try it. Thank man!