Facebook login plugin


#1

Hello there
i am using Facebook login to login into my app but when i login it does not show my app content
i want it to show me my app home page once i login with Facebook login
any ideas on that???


#2

Without seeing code I cannot say for sure, but what I did was in the .then() part of the facebook login function I check to make sure the login was successful and then just navigate to the page you need:


    var topmost = frameModule.topmost();
    topmost.navigate("views/app/home");


#3

onLogin = function (error: string, loginResponse : LoginResponse)

{
console.log("TOKEN: " + loginResponse.token); };
testAction = function () {
Facebook.login((error, data) => {

        console.log("Success!");
       
  there is my code