question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Facebook iOS app browser not supported

See original GitHub issue

The Facebook native iOS app uses a UIWebView with a custom user-agent. Ideally Polyfill should return a polyfill for the current Safari/iOS version, but returns an error message.

Here is a polyfill request with a Facebook user-agent:

curl "https://cdn.polyfill.io/v2/polyfill.min.js?features=Object.assign,Promise,Array.prototype.find,Array.prototype.findIndex,Intl,Intl.~locale.nb&flags=always,gated" --header "User-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_2 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13C75 [FBAN/FBIOS;FBAV/46.0.0.54.156;FBBV/18972819;FBDV/iPhone8,1;FBMD/iPhone;FBSN/iPhone OS;FBSV/9.2;FBSS/2; FBCR/Telenor;FBID/phone;FBLC/nb_NO;FBOP/5]"

Returns:

/* Unsupported UA detected: facebook/46.0.0 */

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
andyburkecommented, Nov 9, 2016

@JakeChampion Thanks, here’s a FB story link that links to the following HTML:

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>
0reactions
JakeChampioncommented, Nov 17, 2016

Sorry, I haven’t reproduced this yet, I need to locate an iOS device and download Facebook. Could you please open this as a new issue, that way it will be easier for other contributors to see the issue and attempt to reproduce it also.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I'm seeing a problem with how Facebook appears on my web ...
If you're seeing a problem with how Facebook appears in your web browser, you could have a cache or temporary data issue.
Read more >
iPhone will not support Facebook site - Apple Community
iPhone will not support Facebook site. The Facebook app when signing in. says " unsupported browser,. my default browser is duck duck go....
Read more >
How to Fix Facebook Not Working on iPhone in 8 Ways - iMobie
Method 1. Quit and Relaunch the App ... The first method that you should try is to swipe up the Facebook app from...
Read more >
How To FIX Facebook Not Working On iPhone/Android! (2022)
... try restarting your device. Your browser can't play this video. ... How To FIX Facebook Not Working On iPhone /Android! (2022).
Read more >
Facebook Not Working on iPhone and iPad? Here's The Real ...
Quit and Relaunch the App · Fix Internet Connectivity Issues · Check Restrictions for Facebook · Check Facebook Update · Clear History and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found