c# - getting security warning in facebook authentication -
i getting security warning while using authentication in facebook app.my code shown screenshot security warning
private void imagefacebook_tap(object sender, gestureeventargs e) { facebookblocker.visibility = visibility.visible; pop_up.isopen = true; //get facebook string appid = "my facebook app id"; var parameters = new dictionary<string, object>(); parameters["client_id"] = appid; parameters["redirect_uri"] = "https://www.facebook.com/connect/login_success.html"; parameters["response_type"] = "token"; parameters["display"] = "touch"; string extendedpermissions = "user_about_me,read_stream,publish_stream"; // add 'scope' if have extendedpermissions. if (!string.isnullorempty(extendedpermissions)) { // comma-delimited list of permissions parameters["scope"] = extendedpermissions; } var oauth = new facebookoauthclient(); //create login url var loginurl = oauth.getloginurl(parameters); ////open facebook login page browser _webbrowser.navigate(loginurl); }
i have resolved.check answer here. escape facebook security warning
also replace http:
https:
in facebook graphapi.
Comments
Post a Comment