Not able to connect via WebSocket in node.js

I am trying to connect via websocket in node.js, i have tried sample code as well as this link, but i am not able to connect, it also don't show any error.
I have tried to connect via API and it workes fine with same token and key, but facing same issue in WebSocket.

Also i have other question, i am seeing option called access_token option in WebSocket and request_token in API, so both are same or different?
If they are different then how can i get access_token to connect to WebSocket in node.js
  • sujith
    Can you paste the complete code and stack trace here?
    Make sure you modify the session tokens if you see that in the stack trace.
Sign In or Register to comment.