Twitter的流API .NET库 [英] Twitter Streaming API .NET library

查看:151
本文介绍了Twitter的流API .NET库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在写一些code消费者从Twitter的流API的用户流:

I am currently trying to write some code to consumer the user stream from the Twitter streaming API:

http://dev.twitter.com/pages/user_streams

我奋力使用基本身份验证连接到它,并承担(该文档不说),其OAuth是必需的。

I am struggling to connect to it using basic auth and assume (the docs don't say) that OAuth is required.

不过,我无法找到一个支持流媒体和OAuth的Twitter的.NET库(事实上,没有找到任何像样的样品/文档上消耗流API)。

However I cannot find a Twitter .NET library that supports streaming and OAuth (actually, haven't found any with decent samples/docs on consuming the streaming API).

有谁知道有什么?目前,我写我自己的code。使用C#和动力消耗样品流,但真的不希望有实现的OAuth(有人说其复杂的)。

Does anyone know of any? Currently I have written my own code to consume the sample stream using C# and dynamic but really don't want to have to implement OAuth (people say its complex).

编辑:

虽然,我已经能够获得通过TweetSharp库细的访问令牌和访问令牌的秘密,我不知道如何来生成所需的页眉/实施OAuth的,这可能是另一种选择,我想,而不是一个完整的库。

Although, I have been able to get an access token and access token secret via the TweetSharp library fine, I have no clue on how to generate the required headers/implement oauth, which could be another option I guess rather than a full library.

短版:

  • 寻找支持流API和OAuth的库
  • 在提出建议手动执行的OAuth

推荐答案

请香农惠特利职位: Twitter的OAuth的使用.NET

Check Shannon Whitley post: Twitter oAuth with .NET

这篇关于Twitter的流API .NET库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆