Mohammad AL-Raoosh
Mohammad AL-Raoosh

Reputation: 731

OAuth2 client, Completed never called

I am trying to use OAuth2 client of xamarin with facebook, I tried this:

var auth = new OAuth2Authenticator(
                clientId: "xxxxxxxxxx",
                scope: "",
                authorizeUrl: new Uri("https://www.facebook.com/dialog/oauth/"),
                redirectUrl: new Uri("http://www.facebook.com/connect/login_success.html"));

auth.Completed += (s, ee) => { .... }

StartActivity(auth.GetUI(this));

However, Completed never called.. Any idea?

Upvotes: 2

Views: 243

Answers (1)

jzeferino
jzeferino

Reputation: 7850

After I tested your code and realized that the problem is related to the Facebook App creation, I suggest you to read and follow this.

Upvotes: 1

Related Questions