Parse.com facebook login with asp.net MVC

时间:2016-03-14 22:20:50

标签: c# asp.net-mvc parse-platform webbrowser-control facebook-login

I'm trying to setup the Parse.com login to website using Facebook, and i didn't understand how. I couldn't find any examples of code in the internet.. as wrote in parse documentation:

// Make your browser control visible
   try
   {
       ParseUser user = await ParseFacebookUtils.LogInAsync(
                        browser, new[] { "user_likes", "email" });
       // The user logged in with Facebook!
   }
   catch
   {
       // User cancelled the Facebook login or did not fully authorize.
    }
    // Hide your browser control

I don't know how to Make the browser control visible && how to hide it when the login process is finished. I'll be happy to get help. Thanks!

0 个答案:

没有答案