I am developing a Visual Studio Extension where I would be knowing about the activity on my posts. I found out that wss://qa.sockets.stackexchange.com
is used for this purpose. Can somebody help me in explaining how to achieve the solution, i.e., how do I get to know about the activities on my posts? Also, are Stack Exchange WebSockets officially supported (like the API)?
-
2I've used the Web Sockets in my userscript over here - you might like to check out the source :)– ᔕᖺᘎᕊCommented Jul 14, 2015 at 8:58
1 Answer
No, the WebSockets are not officially supported. They are internal to Stack Exchange, use them at your own risk.
If it is at all possible to do your task with the API, use that. That's what it's there for.
Some people have sussed out some of the endpoints. You can see them in the answers to:
How do the Stack Exchange WebSockets work? What are all the options you can send to them?
There was some talk of open-sourcing Stack Exchange's custom protocol (not the endpoints):
Note by Marc Gravell♦: if people would be genuinely interested in our releasing this as open source, please let us know. It will take some effort. but isn't impossible.
But this doesn't seem to have happened.