I use a combination of Twitter REST and Search API. The ID for the message came from the Twitter REST API of the authenticating user or a friend of his.
-- Hwee-Boon On Mar 11, 5:08 am, Chad Etzel <jazzyc...@gmail.com> wrote: > If you are using the search API to get the updates, how are you > getting an update ID from a protected user? > -Chad > > > > On Tue, Mar 10, 2009 at 4:31 PM, Hwee-Boon Yar <hweeb...@gmail.com> wrote: > > > In order to find updates after a protected account's update, I am > > running the following query, setting since_id to the ID of that > > update. > > >http://search.twitter.com/search.json?q=to:simplytweet2&since_id=1297... > > > The problem of course is that this query fails [1] since searching > > with a since_id value that points to an update not in the database > > always returns 404. This update is from a protected user, so it is not > > in the database. > > > Is there anyway around this? I'm currently incrementing the since_id > > by 1 if I get a 404, but it looks like a patch. > > > [1] - > >http://groups.google.com/group/twitter-development-talk/browse_thread... > > > -- > > Hwee-Boon