I have been integrated a twitter feed into my Rails 4 application using this gem.
Able to fetched twitter home timeline feeds using following twitter gem method
Method:
twitter.home_timeline
and this will return last 20 tweets of home_timeline
To fetch first page tweets, i have added following options to the method which will return first 200 tweets in page 1.
Method:
twitter.home_timeline(:page => 1, :count => 200)
Here, everytime i have to provide page number manually like :page => 2, :page => 3,..and so on to fetch next page tweets.
So, is their any method or way to get total page counts for twitter home time tweets using twitter gem?