Nerixyz / instagram_mqtt

Realtime and Push Notification (FBNS) support for the instagram-private-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to connect to the web

hamti2018 opened this issue · comments

Could you tell me how to make a connection to the web socket that is used in the web version of instagram wss: //edge-chat.instagram.com/chat. When I try to establish a connection using ws, a 502 response is received.

2��/ig_send_message�{"client_context":"555","device_id":"D3","action":"indicate_activity","thread_id":"340282366841710300949128139948363445088","activity_status":0}

2��/ig_send_message�{"client_context":"555","device_id":"D3","action":"send_item","item_type":"text","mutation_token":"555","text":"test\n","thread_id":"340282366841710300949128139948363445088"}

Sometimes data comes in the form

kAMADgA=