xamarin.android - Getting Exception while calling the StartActivity -
i trying implement facebook , twitter login in xamarin android application using xamarin auth. while calling startactivity() method present facebook , twitter ui user authentication. getting exception shown in attached image.
public void facebooklogin() { var auth = new oauth2authenticator( clientid: "clientid", scope: "", authorizeurl: new uri("https://m.facebook.com/dialog/oauth/"), redirecturl: new uri("http://www.facebook.com/connect/login_success.html")); auth.allowcancel = true; auth.completed += facebookauth_completed; startactivity(auth.getui(this)); }
in above code, getting exception in calling startactivity(auth.getui(this)) presenting ui facebook. please find exception getting.
i getting above exception , application crashes. please provide me suggestion. thanks.
regards,
vijay.
Comments
Post a Comment