2017-08-28 67 views

回答

0

好了,回答我的問題花費幾個小時後,就找出OAuth2Authenticator類從身份類繼承與讀/寫屬性標題...

auth = new OAuth2Authenticator(
         clientId: Constants.FacebookClientId, 
         scope: "email", 
         authorizeUrl: new Uri("https://www.facebook.com/v2.9/dialog/oauth"), // These values do not need changing 
         redirectUrl: new Uri("http://www.facebook.com/connect/login_success.html")// These values do not need changing 
        ); 
auth.AllowCancel = true; //back button allowed 
auth.Title = "Facebook"; //pfffff :)