I've been seeing this problem for the last couple of weeks too. I
thought I was going crazy.

Most of the time when I do a search with since_id, it returns zero
results. My searches always include "to:screenname" in addition to
since_id. For example:

With since_id: curl "http://api.twitter.com/1/search.json?
since_id=5627135528&q=to%3APogue"

result:
{
    "results": [],
    "max_id": 5637056671,
    "since_id": 5627135528,
    "refresh_url": "?since_id=5637056671&q=to%3APogue",
    "results_per_page": 15,
    "page": 1,
    "completed_in": 0.012596,
    "query": "to%3APogue"
}

Without since_id: curl "http://api.twitter.com/1/search.json?q=to
%3APogue"
(notice that the ids are higher than the since_id I passed in):

result:
{
    "results": [{
        "profile_image_url": "http://a3.twimg.com/profile_images/
351653493/IMG_7001_normal.JPG",
        "created_at": "Thu, 12 Nov 2009 03:52:08 +0000",
        "from_user": "timstratton",
        "to_user_id": 2053065,
        "text": "@Pogue You have seen this right ? 
http://twitter.com/big_ben_clock,
I have been laughing all day. Odd though, wife does not agree at
all.",
        "id": 5639849021,
        "from_user_id": 5772395,
        "to_user": "pogue",
        "geo": null,
        "iso_language_code": "en",
        "source": "<a href="http://twitter.com/
">web</a>"
    },
    {
        "profile_image_url": "http://a3.twimg.com/profile_images/
242892621/Jombi_Ambigram_Square_normal.jpg",
        "created_at": "Thu, 12 Nov 2009 03:32:15 +0000",
        "from_user": "JombiDotNet",
        "to_user_id": 2053065,
        "text": "@Pogue Google Suggest and Sociology 
http://www.slate.com/id/2234019";,
        "id": 5639382121,
        "from_user_id": 30310966,
        "to_user": "pogue",
        "geo": null,
        "iso_language_code": "fr",
        "source": "<a href="http://twitter.com/
">web</a>"
    },
    {
        "profile_image_url": "http://a1.twimg.com/profile_images/
335299002/IMG_0030_normal.JPG",
        "created_at": "Thu, 12 Nov 2009 01:07:06 +0000",
        "from_user": "AaronIsaacs",
        "to_user_id": 2053065,
        "text": "@Pogue google "where can I find Chuck
Norris" and click "I'm feeling lucky"",
        "id": 5635640329,
        "from_user_id": 21018646,
        "to_user": "pogue",
        "geo": null,
        "iso_language_code": "en",
        "source": "<a href="http://www.atebits.com/"
rel="nofollow">Tweetie</a>"
    },
    etc. etc. etc.
[ ... snip ... ]

My only workaround is to ignore the results I've already seen before
but no one wins--Twitter has to send me more results and I have to
process more results.

A fix soon would be very much appreciated. Thanks!

Brian Morearty



On Nov 4, 10:50 am, twitter-development <[email protected]>
wrote:
> I think a few people including myself have seen this. Best guess is
> that it's a caching issue on the twitter server side. Here are some
> other threads with similar issues:
>
> http://groups.google.com/group/twitter-development-talk/browse_thread...
>
> http://groups.google.com/group/twitter-development-talk/browse_thread...
>
> http://groups.google.com/group/twitter-development-talk/browse_thread...
>
> On Nov 4, 3:45 am, Spode <[email protected]> wrote:
>
> > Hi,
>
> > I've been noticing some strange behaviour since last night - but
> > that's not to say it's not been going on longer.
>
> >http://search.twitter.com/search.json?q=JournoTwit&rpp=100&since_id=5...
>
> > Performing this search turns up 0 results when it should show 4.
>
> >http://search.twitter.com/search.json?q=JournoTwit&rpp=100&since_id=
>
> > Run it with nosince_idand it works. Then straight away run the
> > original query...
>
> >http://search.twitter.com/search.json?q=JournoTwit&rpp=100&since_id=5...
>
> > And you get the expected 4 results.
>
> > What's going on?
>
> > Spode (journotwit.com)

Reply via email to