Entry ID

Dec 10, 2010 at 5:11 AM

I am doing a search on twitterCtx.Search

 The ID I got back has the following format "tag:search.twitter.com,2005:12595010503450624"

What is the tweet ID from this?

 

 

Coordinator
Dec 10, 2010 at 5: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);

Joe