/*
         * Creates a new page for changing account login method
         */
        public FacebookPage(int userId)
        {
            InitializeComponent();
            facebookServices = new FacebookServices();
            this.userId      = userId;
            var webView = new WebView
            {
                Source        = facebookServices.apiRequest,
                HeightRequest = 1
            };

            webView.Navigated += ChangeLoginMethodOnNavigate;
            Content            = webView;
        }
        public FacebookPage(LoginPage loginPage)
        {
            InitializeComponent();
            this.parentLoginPage = loginPage;
            facebookServices     = new FacebookServices();

            var webView = new WebView
            {
                Source        = facebookServices.apiRequest,
                HeightRequest = 1
            };

            webView.Navigated += WebViewOnNavigated;
            Content            = webView;
        }