2

I am making a manual login flow with facebook without js sdk i have an iframe to get user approval it works fine and returns short-lived access token withn url but the problem when i want to get the url like iframe.src it returns the src i provided not redirected and which contains facebooks response.The question is how i can get redirected current url of an iframe . i tried iframe.location.href but it seems iframe doesnt have dom inside, and location is undefined.

nikoss
  • 3,254
  • 2
  • 26
  • 40

1 Answers1

2

I found out i can use frame.contentWindow.location after it returns to my site

nikoss
  • 3,254
  • 2
  • 26
  • 40