Get Tweets using Atom doesn't work for my Username???

JaiderNet
@JaiderNet Jaider .Net

I try to get my tweets using atom request:
http://search.twitter.com/search.atom?q=from:$username

My user name is JaiderNet, but I don't know why I don't get any tweet http://search.twitter.com/search.atom?q=from:JaiderNet, I also try HTTPS request.

if I user other twitter account like microsoft, java... you will see that it will return a lot of data. even if I used my friend account (joscobb). http://search.twitter.com/search.atom?q=from:joscobb, will return the tweets.

Why it doesn't work for my account? I already try to change the username to lowercase (jaidernet), or using underscore (jaider_net) but any of these work. I don't know what is going on here???

6 weeks 2 days ago

Replies

episod
@episod Taylor Singletary

If you're looking for your own tweets, the Search API isn't the right source -- you should request for your user timeline instead.

Keep in mind that search is not exhaustive, it's possible that the tweets you're looking for just aren't in search right now -- an even better reason to get the tweets you're looking for from the user timeline API.

See this FAQ entry for more info:

Why are the Tweets I'm looking for not in Twitter Search, the Search API, or Search widgets?

Twitter's search is optimized to serve relevant tweets to end-users in response to direct, non-recurring queries such as #hashtags, URLs, domains, and keywords. The Search API (which also powers Twitter's search widget) is an interface to this search engine. Our search service is not meant to be an exhaustive archive of public tweets and not all tweets are indexed or returned. Some results are refined to better combat spam and increase relevance. Due to capacity constraints, the index currently only covers about a week's worth of tweets.

The user timeline API is the definitive source of tweets by a specific author. For a collection of recent Tweets by more than one user, consider creating a Twitter List and leveraging the list timeline. The Streaming API is often the best-fit choice when seeking completeness.

If the tweets you're looking for aren't available in search and you think they should be, consult this support topic for further instructions to contact @Support.

6 weeks 2 days ago