Facebook in-app browser (on both iOS and Android) not working
See original GitHub issueWe are seeing issues with the polyfill not appropriately filling inside the Facebook in-app browser.
This seems like it may be a regression on #561
Reproduction:
https://m.facebook.com/story.php?story_fbid=10154490930306508&id=739196507
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FB Browser Window setImmediate repro</title>
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=default,setImmediate"></script>
</head>
<body>
<script type="text/javascript">
setImmediate( function() {
alert( 'setImmediate worked' );
} );
</script>
<body>
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Facebook login is not working In-app browser for iOS
1 Answer 1 ... I experienced this issue. You need to use FB.getLoginStatus then if the user is not logged in, use FB.login...
Read more >How to Force the Facebook App to Use an External ... - YouTube
The Android Facebook app comes with its own in-app browser for viewing links. This shows how to force Facebook to use an external...
Read more >How do I troubleshoot something that's not working on ...
How do I troubleshoot something that's not working on Facebook? ; Computer · Close the page and reopen. Clear your cache by going...
Read more >Why doesn't my site display properly in the Facebook in-App ...
Site not working 1 Facebook in-app browser ... In both Android and Apple, from the in-app browser, there is the option to open...
Read more >7 ways to troubleshoot if Facebook is not working on your device
Refresh your browser · Check to see if Facebook is online · Clear your browser's cache · Close and reopen the app ·...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK, I think the solution to this is to remove the Facebook-added
[FB_IAB/FB4A;FBAV/35.0.0.48.273;]
token from the UA string before parsing. This will then cause the UA to be recognised as Chrome on Android, and Safari on iOS. I’d like to do this after https://github.com/Financial-Times/polyfill-service/pull/1050 is merged.See #1147