Open VanHop94 opened 4 years ago
@Schmavery I guess it's time to archive this repository. Facebook using new technology, based on websockets (it's mqtt with encryption), and from what I've seen, it will took kinda a lot of time until someone will "crack" this communication.
It still works with userAgent "Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Mobile Safari/537.36" in login with appstate (but this userAgent doesn't work with login with email/password). Websocket is implemented in listenMqtt for receiving an events, but some functions should be migrated to mqtt (like sending messages).
one month ago, I can set userAgent to force facebook back to old UI. But now, Facebook restricts this, please update this function. Thank you so much