Nerixyz / instagram_mqtt

Realtime and Push Notification (FBNS) support for the instagram-private-api
MIT License
244 stars 49 forks source link

FbnsClient Push Notification not working #100

Open Ho3einWave opened 1 year ago

Ho3einWave commented 1 year ago

recently my app is not receiving the push notification everything was working but now the push event doesn't get anything

ig:mqtt:fbns Connecting to FBNS... +0ms
ig:mqtt:fbns Constructing connection +1ms
ig:mqtt:fbns Connected to MQTT +1s
ig:mqtt:fbns Received auth: {"ck":464389304437390,"cs":"3Fx/sG5w1qFClsKuW7/A1N4eMDY=","sr":30,"di":"0a0ca4ba-5f3e-4320-8cf1-e4e0059e0cb1","ds":"FBuZ26OW5iTlrdCmWRqE8vVGKNs="} +1ms

These are the debugging logs I get

OoHerbethoO commented 1 year ago

Here in my app it also stopped receiving pushes

Ho3einWave commented 1 year ago
{
    "message": "",
    "igAction": "news",
    "actionPath": "news",
    "collapseKey": "reachability_silent_push",
    "pushId": "5e84b4a725e4bHb53015e40H5e84b9408611dH141",
    "pushCategory": "reachability_silent_push",
    "intendedRecipientUserId": "48637238848",
    "badgeCount": {
        "direct": 6
    }
}

this is the last thing I get from the push event

Ho3einWave commented 1 year ago

I think its an Instagram problem or Instagram is changing something in their MQTT.

how can I monitor the MQTT data? I found an Instagram patch with the latest version in this repo I tried to reverse engineer the com.instagram.android:mqtt with Frida script that was provided in repo but its doesn't work and I'm not experienced in reverse engineering I hope the project owner helps us to update this repo

Ho3einWave commented 1 year ago

@Nerixyz

Nerixyz commented 1 year ago

I tried to reverse engineer the com.instagram.android:mqtt with Frida script that was provided in repo but its doesn't work and I'm not experienced in reverse engineering

The script is probably outdated: https://github.com/Nerixyz/instagram_mqtt/blob/0f80649a0f56fdb7550f9532488485b4b9f342f0/frida/mqttListen.js#L10-L24

I haven't really kept up with any changes to MQTT on instagram.

zulkifliraihan commented 1 year ago

Yeah, i can't get realtime notification too

cnkx commented 1 year ago

Yeah, i can't get realtime notification too

Actually same here! I used to use this library regularly months ago but I think problems started to occur. Sometimes some notifications were coming else some were not. I can't see any realtime notifications today (using last version of instagram_mqtt library). I believe though I've made the correct settings even though the past months have been working regularly, the most frequently used pending chat notification has stopped coming. I checked the logs saved so far and just noticed it today.

@Nerixyz