Skip to content

Commit 965931a

Browse files
author
Bjornskjald
committed
Updated the user agent to match more newer app version
1 parent bc2b7a5 commit 965931a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/http/BaseHttpApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const debugLog = debug('fblib')
1515
/**
1616
* User agent spoofing the mobile Messenger app (version 148.0.0.20.381)
1717
*/
18-
const USER_AGENT =
19-
'Facebook plugin / LIBFB-JS / [FBAN/Orca-Android;FBAV/148.0.0.20.381;FBPN/com.facebook.orca;FBLC/en_US;FBBV/256002347743983]'
18+
const USER_AGENT = '[FBAN/Orca-Android;FBAV/220.0.0.20.121;]'
19+
2020
/**
2121
* ¯\\_(ツ)_/¯
2222
*/

src/mqtt/messages/Connect.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MqttConnectFlag } from '../MqttTypes'
66
import * as Payloads from '../payloads'
77
import { MessageType } from './MessageTypes'
88

9-
const USER_AGENT =
10-
'Facebook plugin / LIBFB-JS / [FBAN/Orca-Android;FBAV/148.0.0.5.83;FBPN/com.facebook.orca;FBLC/en_US;FBBV/26040814]'
9+
const USER_AGENT = '[FBAN/Orca-Android;FBAV/220.0.0.20.121;]'
1110

1211
/**
1312
* Assembles a connect messages sent just after a TLS connection is established.

0 commit comments

Comments
 (0)