General Question

richardhenry's avatar

How can I use the Twitter Search API to return all tweets that match my search query, posted only within the last five seconds?

Asked by richardhenry (12692points) October 15th, 2008

I would like to use the API to return all tweets that match my search query, but only tweets posted within the last five seconds.

With Twitter’s Search API, I can use the since_id to grab all tweets from a specific ID. However, I can’t really see a good way to find the tweet ID to begin from.

I’m also aware that you can use “since:” in the actual query to use a date, but you cannot enter a time.

Can someone with Twitter API experience offer me any advice? Thanks guys.

http://apiwiki.twitter.com/Search-API-Documentation

Observing members: 0 Composing members: 0

2 Answers

richardhenry's avatar

Nevermind, I don’t see a way to do this. I have a different method to fall back on, but this would have been ideal.

richardhenry's avatar

Actually, since the feed is delivered chronologically, I can just work backwards through it. Not exactly five seconds, but it sort of works.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther