Discussions
Singularity Test Event not working
almost 8 years ago by Bethany Shore
Hey there,
So I've been trying to get Singularity working for a while, both inside Node.js and normal Javascript on a browser. Both have been unsuccessful.
Socket.io is connecting fine, it's authenticating fine, and connecting to the channel fine. But when I fire any test event, it doesn't work at all.
I am getting the channel-authentication frame in the polling network event.
42["app-channel-connected",…]:
"app-channel-connected":
"{"result":{"status":1,"message":"Channel authenticated."},"data":{"channel_id":"6771","status":"authenticated","listening":true}}"
Does anyone have any idea why my test events aren't firing?
Thank you
almost 8 years ago by Anonymous
Figured it out.
"Test events are sent as the current logged in user, so you must authorize the client using OAuth as the current user for these tests to work."
Suggestion to make that <strong>
? ;) I was frantically trying to make this work for days D: