Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

151
Visualizações
How can I load a facebook url in my webapp and still monitor the url change?

All I have is a fb url for fb login for my webapp. I need to load the url, check if the url has some keywords and Authenticate the user. The problem is when I try to load the url in the browser, I coundn't check the url since it goes out of the project and fb does not support iframe also. How can I load the url and check for the change?

I have tried the following code:

  $scope.FbLogin = function ()
       {
           var i = 0;
           window.location.replace("fburl");
           while (i == 0)
           {
               var fburl = window.location.href;
               if (fburl.includes('&email'))
               {
                  //my logic
               }
           }

At window.location.replace("fburl"), I lose the control over the project which is obvious. Iframe cant be used....Any other ways?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda