Nerixyz / instagram_mqtt

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

how to connect to the web #62

Open hamti2018 opened 3 years ago

hamti2018 commented 3 years ago

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=