2014-06-19 31 views
0

创建一个asp.net应用程序并添加引用作为twitterizer dll。在这个应用程序中传递了oauth_consumerkey和oauth_consumersecret.Using应用程序,我在Twitter上发布消息,但没有在twitter上发布消息。因此,我在我的代码行中使用了断点。在twitter响应中,结果未知,响应内容将显示错误“{”errors“:[{”message“:”SSL is required“,”code“: 92}]}”。请帮帮我?消息未发布在Twitter中使用twitterizer dll在asp.net

回答

0

听起来好像您正在使用旧版本的Twitterizer库。

https://github.com/Twitterizer/Twitterizer/commit/f6f1e5bb606986771dcd9841385d16aaf401cd83

我会建议从GitHub中最新版本的代码:

https://github.com/Twitterizer/Twitterizer

+0

我使用https://github.com/Twitterizer/Twitterizer/tree/develop/ExampleAp中的Twitterizer2.dll褶皱/ Twitterizer的Web /斌。但它显示错误“无法添加对”Twitterizer2.dll“的引用,请确保文件可访问,并且它是有效的程序集或COM组件。如何添加该dll文件。请帮助我.. – Premkumar

+0

如何添加对Visual Studio项目的引用不在此问题的范围内,但您可以从这里开始:http://msdn.microsoft.com/en-us/library/wkze6zky.aspx – DWRoelands

+0

谢谢现在它的作品 – Premkumar

4

的代码是工作的罚款只需更换这此问题已在今年1月15日修正line

TwitterResponse<TwitterStatus> response = TwitterStatus.Update(accesstoken, "Testing!! It works (hopefully)2.", new StatusUpdateOptions() { UseSSL = true, APIBaseAddress = "http://api.twitter.com/1.1/" });