I'm trying to follow the samples at
https://github.com/johnsheehan/RestSharp/blob/master/RestSharp.IntegrationTests/oAuth1Tests.cs
to authenticate my app, but the libraries don't seem to match up.
const string consumerKey = <my key>;
const string consumerSecret = <my secret>;
var baseUrl = "
https://api.twitter.com";
var client = new RestClient(baseUrl);
client.Authenticator =
OAuth1Authenticator.ForRequestToken(consumerKey, consumerSecret);
when I get to this last line:
client.Authenticator =
OAuth1Authenticator.ForRequestToken(consumerKey, consumerSecret);
OAuth1Authenticator is NOT available.
There is a OAuth2Authenticator, but it doesn't have the
ForRequestToken method.
Does anybody have any examples working with restsharp and oauth for
Windows Phone?
thanks!!