When I use the search API I get a result like this:


            "from_user_id_str": "142342329",
            "profile_image_url": "http://a1.twimg.com/profile_images/
            "created_at": "Mon, 28 Feb 2011 19:20:31 +0000",
            "from_user": "lmoliva_",
            "id_str": "42303151705047041",
            "metadata": {
                "result_type": "recent"
            "to_user_id": null,
            "text": "RT @alexismadrigal: Exclusive! The Man Behind the
Best Twitter Feed Ever, @MayorEmanuel: http://theatln.tc/gxQXwh";,
            "id": 42303151705047041,

However, when I go to look up this user via the user/show api with
that same id I get:


    "is_translator": false,
    "favourites_count": 0,
    "profile_background_color": "C0DEED",
    "url": "http:\/\/percepcionderealidad.blogspot.com\/",
    "follow_request_sent": false,
    "profile_background_image_url": "http:\/\/a3.twimg.com\/a\/
    "description": "",
    "screen_name": "carlitosvilchis",

A totally different user!  There appears to be no way to get the
proper numerical id from the search API.  Am I doing something wrong
or is this a known issue and I should just rewrite to use their screen
name to look up users instead?

Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 

Reply via email to