Is this a Facebook for iOS WebView User Agent?

后端 未结 1 983
抹茶落季
抹茶落季 2021-02-05 15:45

I\'m looking through some logs trying to explain some \"interesting\" behavior and I\'m seeing some users come to my application with a user agent similar to this one:



        
相关标签:
1条回答
  • 2021-02-05 16:15

    Yes it is the iOS Facebook app....

    The following is the user agent string from an iPhone 4s showing that it includes the correct device iPhone4,1

    Mozilla/5.0 (iPhone; CPU iPhone OS 6_0_1 like Mac OS X)
    AppleWebKit/536.26 (KHTML, like Gecko) Mobile/10A523
    [FBAN/FBIOS;FBAV/5.3;FBBV/89182;FBDV/iPhone4,1;FBMD/iPhone;FBSN/iPhoneOS;
    FBSV/6.0.1;FBSS/2; FBCR/O2;FBID/phone;FBLC/en_US]
    

    The devices shown seem to follow the same model identification shown in an answer on detecting iOS models

    @"i386"      on the simulator
    @"iPod1,1"   on iPod Touch
    @"iPod2,1"   on iPod Touch Second Generation
    @"iPod3,1"   on iPod Touch Third Generation
    @"iPod4,1"   on iPod Touch Fourth Generation
    @"iPhone1,1" on iPhone
    @"iPhone1,2" on iPhone 3G
    @"iPhone2,1" on iPhone 3GS
    @"iPad1,1"   on iPad
    @"iPad2,1"   on iPad 2
    @"iPad3,1"   on iPad 3 (aka new iPad)
    @"iPhone3,1" on iPhone 4
    @"iPhone4,1" on iPhone 4S
    @"iPhone5,1" on iPhone 5
    @"iPhone5,2" on iPhone 5
    

    This means the string you show that it was an the facebook app on iPad 2

    0 讨论(0)
提交回复
热议问题