Pagination not working properly in spring social framework twitter


#1

pagination not working properly in spring social framework twitter.

I am checked both ways

  1. by providing sinceId as zero initially and the maximum id from the results obtained.
  2. or by providing maxId as zero initially and the manimum id from the results obtained.

But, it is not getting all results.

And as per my observation,
From the twitter console , we find the below information
search_metadata": {
“completed_in”: 0.053,
“max_id”: 468338577915400200,
“max_id_str”: “468338577915400192”,
“next_results”: “?max_id=466530311330082815&q=SnapLogic&count=100&include_entities=1”,
“query”: “SnapLogic”,
“refresh_url”: “?since_id=468338577915400192&q=SnapLogic&include_entities=1”,
“count”: 100,
“since_id”: 0,
“since_id_str”: “0”
}
where as we are not getting the refresh_url or next_results from the search metadata from our call
template.searchOperations().search(params);