开发者

How can I capture certain hashtag in Twitter in C#?

I have a silver light App that captures the tweets of certain Twitter user. I want to modify that App so that It captures any tweet in the public timeline with a certain #hashtag. How can I do that ? or is there any ready code for that 开发者_开发百科?

Thanks!!


Use the Twitter Search API.

For example, let's say you want to search for #ipad. Then just use:

http://search.twitter.com/search.atom?lang=en&q=%23ipad

And you'll get results containing the #ipad tag.

For the C# part, you can use Tweetsharp C# library, or just use DOT NET's http client to perform your query.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜