邮政"的Hello World"从.NET应用程序叽叽喳喳 [英] Post "Hello World" to twitter from .NET application

查看:170
本文介绍了邮政"的Hello World"从.NET应用程序叽叽喳喳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的客户要我用.NET张贴到Twitter,并建议我使用C#

My client would like me to use .NET to post to Twitter, and suggests that I use C#.

问:我如何发布的Hello World来叽叽喳喳使用C#?

Q: How do I post "Hello World" to twitter using C#?

这帖子提到一个名为twitterizer库。难道没有做到这一点,而无需使用第三方库的本地方式是什么? (也许不是因为认证的要求之一)

This post mentions a library called twitterizer. Isn't there a native way to do it without using a 3rd party library? (Maybe not since authentication is one of the requirements).

推荐答案

只需使用此实现包装的Twitter的API:

Just use this implemented wrapper for the Twitter API:

https://github.com/danielcrenna/tweetsharp

    var twitter = FluentTwitter.CreateRequest()   
    .AuthenticateAs("USERNAME", "PASSWORD")   
    .Statuses().Update("Hello World!")   
    .AsJson();   

    var response = twitter.Request();  



从: http://code-inside.de/blog-in/2009/04/23/howto-tweet-with-c/

甚至有一个DotNetRocks采访了开发商。

这篇关于邮政"的Hello World"从.NET应用程序叽叽喳喳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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