How to get the old timeline or tweet?

i'm University students of South korea I'm developing analysis application using bigdata of twitter with my advisor professor. So i'm gathering tweets contains specific keyword(relevant word of crime) at period. I use 'streaming api' and 'search api' now. I have seen that using search api and streaming api result is return tweets of only one week.

I should be get the old data that have keyword of crime and since 2006 until 2016

do you have any idea?


ANSWERS:


Sadly you can't get tweets from that time range. From the documentation:

The Search API is not complete index of all Tweets, but instead an index of recent Tweets. At the moment that index includes between 6-9 days of Tweets.

So, you can only get recent tweets from the search API. Be careful too with the data beacuse it's about relevance not completeness, from the same documentation:

Before getting involved, it’s important to know that the Search API is focused on relevance and not completeness. This means that some Tweets and users may be missing from search results. If you want to match for completeness you should consider using a Streaming API instead.

If you really need older tweets you will have to get them from other sources like Gnip. Otherwise you will have to approach differently your problem.

If you have the names (or id's) of all the users that you want to get info you could get the timelines from each user getting up to 3200 tweets.



 MORE:


 ? How to retrieve all the tweets of my followers through the twitter streaming API with twitter4J?
 ? Twitter4J in android app don't work:TwitterException: 401
 ? 401 Authentication credential missing or incorrect using Twitter4j
 ? How can I get a Twitter list ID from it's slug?
 ? twitter oauth authorization on android , without open browser .. how to?
 ? using twitter4j for integration to tweet in android
 ? Is it possible to get authorized on twitter and change twitter status without asking users to enter PIN?
 ? Problem by accepting follower request with a secured twitter account - Twitter4j
 ? android/twitter4j question
 ? CallBack after Twitter authentication