Search old tweets

Apr 16, 2015 at 11:49 PM
Hello,

Is there any way to work around the limitation to the "age" of tweets that will be found through a search query? Currently it seems impossible to dig more than one to two week old. How to find tweets that were posted, let's imagine, a month ago?

Any guess?

Thanks
Apr 18, 2015 at 5:11 PM
This limitation is by twitter API itself.
https://dev.twitter.com/rest/public/search
Apr 18, 2015 at 6:15 PM
Yeah I know this (forgot to mention it).

I asked it because from twitter there is no limitation. Also I searched a bit and found someone that made a Java program to "read" it (don't have the link). So if anyone find (or code) something like this in C# I will be more than happy to use it too :)

My problem is mainly that I am completely unable to code something like this, nor to use any Java (know nothing about it). Maybe I will use it as a motivation to try Java :)
Coordinator
Apr 18, 2015 at 10:03 PM
Hi,

There is absolutely no way to do this in C#, Java or any language without by performing a request of a third party data partner.
To do this you will have to pay for the data and you'll also have to execute your webrequests on your own.

Cheers,
Linvi
Marked as answer by linvi on 4/22/2015 at 2:38 AM
Apr 18, 2015 at 10:31 PM
I must disagree with you linvi.

From twitter's website when you do a search, if you scroll down you will start loading more tweets. By doing so you can start digging in the history. I understand that it is kind of filtered already (top tweets) but i load tweets dating from begining of march like this. Even though I have no clue how, I am sure that there is a way to read those tweet the same way firefox read and show them.
Coordinator
Apr 22, 2015 at 10:38 AM
Twitter is not using the Public REST API.
Twitter have access to way more endpoint than the one available to public developers.

For example Twitter can access to all the Tweets of a user. The public API allows to get 3200 tweets from a specific user Timeline.
Same goes for User Timeline, Settings, Streams, and Search.

Being able to do something on Twitter does not mean it can be done with the public API.

But I might be wrong but as far as I can read in the documentation there is no way to do what you are asking with the PUBLIC REST API.

Cheers,
Linvi
Marked as answer by linvi on 4/22/2015 at 2:38 AM
Apr 22, 2015 at 1:44 PM
Edited Apr 22, 2015 at 2:33 PM
i think you can do this with tow way

1- by using Official twitter consumer keys
https://gist.github.com/rhenium/3878505
btw you will never be blocked by using Official twitter consumer keys "otherwise all twitter clients will shutdown" and you will have all access to all twitter endpoint documented and undocumented

2- by not using twitter API at all , what i mean by that is (Web scraping)

also check if you are looking for more undocumented endpoints
http://seriot.ch/resources/abusing_twitter_api/twitter_api.pdf