Premkumar
Premkumar

Reputation: 67

Message not posted in Twitter using twitterizer dll in asp.net

Created one asp.net application and add the reference as twitterizer dll. In this application passed the oauth_consumerkey and oauth_consumersecret.Using the application i post the message in twitter but message not posted in twitter. So, i am using breakpoint in my code line by line.In the twitter response, result is unknown and the response content will show error "{"errors":[{"message":"SSL is required","code":92}]}". Please help me?

Upvotes: 0

Views: 1059

Answers (2)

Anil C
Anil C

Reputation: 1065

The code is working fine just replace this line

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

Upvotes: 4

DWRoelands
DWRoelands

Reputation: 4940

That sounds like you are using an older version of the Twitterizer library. This issue was corrected on January 15th of this year:

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

I would recommend pulling the latest version of the code from GitHub:

https://github.com/Twitterizer/Twitterizer

Upvotes: 0

Related Questions