Reputation: 792
I am trying to update the status using tweetsharp oauth preview 17.
Please let me know how ?.
I tried this code
var msg = FluentTwitter.CreateRequest() .AuthenticateWith(_consumerKey, _consumerSecret, Session["token"].ToString(), Session["tokensecret"].ToString()) .Statuses().Update("Hi");
but didn't work.
--Thanks
Upvotes: 1
Views: 786
Reputation: 3368
Did you submit the request? If so, what did you get back as response?
//continuing your code
var response = msg.Request();
var status = response.AsStatus();
if ( status == null )
{
var error = response.AsError();
}
if you add that code, let me know what you get back for response, status, and (if applicable) error, and I should be able to help.
Upvotes: 2