The Facebook OAuth popup is throwing an error in Chrome on iOS only. Both developers.facebook.com and google have turned up nothing about this. Ideas?
Javascript – Facebook OAuth “Unsupported” in Chrome on iOS
facebookiosiphonejavascript
Related Question
- Javascript – Sort array of objects by string property value
- Javascript – What does “use strict” do in JavaScript, and what is the reasoning behind it
- Javascript – event.preventDefault() vs. return false
- Javascript – Storing Objects in HTML5 localStorage
- Javascript – Why does Google prepend while(1); to their JSON responses
- Javascript – Why does the JavaScript code receive a “No ‘Access-Control-Allow-Origin’ header is present on the requested resource” error, while Postman does not
- Javascript – How does Facebook disable the browser’s integrated Developer Tools
- Javascript – Is it possible to apply CSS to half of a character
Best Solution
You can use the redirection method as follow for this case (by detecting the user agent being chrome ios):
See more info here https://developers.facebook.com/docs/facebook-login/login-flow-for-web-no-jssdk/
Remark: I personnaly use the server OAuth in that case but this should do the trick and is quite simple