0

I am using spring social to get twitter data for particular tag say #spring. What I want to achieve is get all data between two dates/timestamp. eg. data between last fetch time and current time. The spring social API allows me to get data betweem two tweetIDs but I failed to find a way where in one can get data between two dates.

Please help.

Ankit Solanki

Ankit Solanki
  • 670
  • 2
  • 9
  • 23

1 Answers1

0

You can use Spring social twitter advanced search.

http://docs.spring.io/spring-social-twitter/docs/1.0.5.RELEASE/api/org/springframework/social/twitter/api/impl/SearchParameters.html

It has two parameters since and until. These can be used to retreive based on date / time period.

Paul John
  • 1,626
  • 1
  • 13
  • 15
  • Since on SearchParameters is since ID not a dated since. You can still only to an until. – Doug Oct 06 '15 at 04:29