This project has moved. For the latest updates, please go here.

Entry ID

Dec 10, 2010 at 4:11 AM

I am doing a search on twitterCtx.Search

 The ID I got back has the following format ",2005:12595010503450624"

What is the tweet ID from this?



Dec 10, 2010 at 4:38 AM

Hi Braves,

The tweet ID is 12595010503450624, which is a ulong. You can handle it as a string as well.  Check out the SearchAndUseStatusTwitterDemo method in the SearchDemos.cs file in the LinqToTwitterDemo project.  You'll see that I'm using the following line to do the extraction:

var statusID = entry.ID.Substring(entry.ID.LastIndexOf(":") + 1);