Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Agent from Facebook's iPad App is not recognized properly #35

Open
variant77 opened this issue Feb 12, 2013 · 0 comments
Open

User Agent from Facebook's iPad App is not recognized properly #35

variant77 opened this issue Feb 12, 2013 · 0 comments

Comments

@variant77
Copy link

The User agent is:
Mozilla/5.0 (iPad; CPU OS 6_0_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10A523 [FBAN/FBIOS;FBAV/5.3;FBBV/89182;FBDV/iPad3,1;FBMD/iPad;FBSN/iPhone OS;FBSV/6.0.1;FBSS/2; FBCR/;FBID/tablet;FBLC/en_US]

It is recognized as:
{'flavor': {'version': 'X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10A523 [FBAN/FBIOS', 'name': 'MacOS'}, 'dist': {'version': 'X) AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10A523 [FBAN/FBIOS', 'name': 'IPhone'}}

While the proper parsing from Safari in the same device reads:
{'flavor': {'version': 'X', 'name': 'MacOS'}, 'dist': {'version': 'X', 'name': 'IPad'}, 'browser': {'version': '6.0', 'name': 'Safari'}}

As you can see the dist name is wrongly parsed as "IPhone"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant