I use your library to connect my home automation to withings.
`using System.Text;
using System.Web;
using RestSharp;
using RestSharp.Authenticators;
using RestSharp.Authenticators.OAuth;
namespace Withings
{
public class Program : PackageBase
{
public static Withings.Authenticator authenticator;
public const string consumerKey = "key";
public const string consumerSecret = "secret";
static void Main(string[] args)
{
PackageHost.Start<Program>(args);
}
public override void OnStart()
{
authenticator = new withings.authenticator("https://oauth.withings.com/", consumerkey, consumersecret, "http://localhost:50670/step2", new withings.usercredentials());
string authorizeurl = authenticator.usercredentials.oauthtoken;
Hi
I use your library to connect my home automation to withings.
`using System.Text; using System.Web; using RestSharp; using RestSharp.Authenticators; using RestSharp.Authenticators.OAuth;
namespace Withings { public class Program : PackageBase { public static Withings.Authenticator authenticator; public const string consumerKey = "key"; public const string consumerSecret = "secret";
Console.WriteLine(authorizeurl); `
The output is : https://oauth.withings.com/account/authorize?oauth_token=
Do you think something change on the withings oauth ?
Thank