是否有适用于 .NET 的 StatusNet 工具包?
有很多项目可以帮助开发人员将内容发布到 Twitter;我立刻就能想到的是 Twitterizer。
是否有任何项目可以发布到 StatusNet?
鉴于 StatusNet 实现的 API 与 Twitter 非常相似,我可能可以修改/扩展 Twitterizer 来做到这一点。
但是,如果已经存在某些东西,我希望尽可能避免重新发明轮子。
There are plenty of projects out there that assist developers in posting things to Twitter; the one I can think of off the top of my head is Twitterizer.
Are there any projects for posting to StatusNet?
Given that StatusNet implements an API very similar to Twitter, I could probably modify/extend Twitterizer to do just that.
However, I'd like to avoid reinventing the wheel if at all possible if something exists already.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能已经经历过这些,但我想我应该提及它,以防其他人偶然发现它。
据我所知,.NET 没有特定 Status.Net 专用库,但正如您所说,API 很大程度上非常相似,因为 StatusNet 最初是 Twitter 的开源克隆。
最后我看到,Linq2Twitter 对 Identi.ca/StatusNet 有特定支持,但是在 MahTweets 中,我们停止使用他们的支持 TweetSharp 的库,它通过透明代理系统间接支持 StatusNet。
即:
我不知道这两个库将来支持此功能的可靠性如何,因为 Twitter 将在一个月左右关闭基本身份验证。我还没有测试这是否适用于 OAuth,因为它需要更多的 url 来重新映射。
编辑:您也可以让 TweetSharp 与 StatusNet 的 OAuth api 一起使用。
获取请求token时,传入
http://identi.ca/api/oauth/request_token
作为TransparentProxy,传入http://identi.ca/api/oauth/授权令牌时授权
。目前,StatusNet 不支持 OAuth 1.0a,因此您无法获得 Twitter 为桌面客户端提供的基于 PIN 的身份验证。You've probably gone through these already, but I thought I'd mention it incase others stumble across it.
As far as I know, there is no specific Status.Net only libraries for .NET, but as you said, the API's are largely very similar because of StatusNet started off as an open-source clone of Twitter.
Last I looked, Linq2Twitter had specific support for Identi.ca/StatusNet, however in MahTweets, we stopped using their library in favour of TweetSharp, which indirectly supports StatusNet via their transparent proxy system.
ie:
I don't know how reliable either library is going to be at supporting this in the future, as Twitter is set to turn off the basic auth in a month or so. I've not tested if this works for OAuth, since it requires a few more url's to remap.
edit: You can get TweetSharp to work with StatusNet's OAuth api too.
When getting the request token, pass in
http://identi.ca/api/oauth/request_token
as the TransparentProxy, and pass inhttp://identi.ca/api/oauth/authorize
when authorizing the token. As it currently stands, StatusNet doesn't support OAuth 1.0a, so you don't have the PIN based authentication that Twitter has for desktop clients.