Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

142
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!