[twitter-dev] API tweet ID field issue

2011-06-02 Thread gavinb
Hi all Was hoping to get a little help with a quick questions, if possible? I currently use statuses/home_timeline.xml to get the recent timeline (including retweets) of the signed in user, but I have a slight issue in that it returns tweet id's such as id = 3a1d856bf1925a2e; if the poster is

Re: [twitter-dev] API tweet ID field issue

2011-06-02 Thread Scott Wilcox
The parser you're using can't handle the 'snowflake' generated IDs, the numbers are too huge for it. Use id_str instead. On 2 Jun 2011, at 13:47, gavinb wrote: Hi all Was hoping to get a little help with a quick questions, if possible? I currently use statuses/home_timeline.xml to get

Re: [twitter-dev] API tweet ID field issue

2011-06-02 Thread Taylor Singletary
It's also possible that whatever you're using to parse the resultant XML is greedily selecting any field that is labeled id -- if there is a place_id associated with the Tweet, it will be embedded in a deeper node of the status object. In fact, the string-based id you presented represents a

Re: [twitter-dev] API tweet ID field issue

2011-06-02 Thread Scott Wilcox
Can't we just beat everyone into using JSON? ;) On 2 Jun 2011, at 14:57, Taylor Singletary wrote: It's also possible that whatever you're using to parse the resultant XML is greedily selecting any field that is labeled id -- if there is a place_id associated with the Tweet, it will be