{"action":"created","issue":{"url":"https://api.github.com/repos/swiftyspiffy/TwitchLib/issues/74","repository_url":"https://api.github.com/repos/swiftyspiffy/TwitchLib","labels_url":"https://api.github.com/repos/swiftyspiffy/TwitchLib/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/swiftyspiffy/TwitchLib/issues/74/comments","events_url":"https://api.github.com/repos/swiftyspiffy/TwitchLib/issues/74/events","html_url":"https://github.com/swiftyspiffy/TwitchLib/issues/74","id":185613483,"number":74,"title":"TwitchPubSub","user":{"login":"NaNDiva","id":23081959,"avatar_url":"https://avatars.githubusercontent.com/u/23081959?v=3","gravatar_id":"","url":"https://api.github.com/users/NaNDiva","html_url":"https://github.com/NaNDiva","followers_url":"https://api.github.com/users/NaNDiva/followers","following_url":"https://api.github.com/users/NaNDiva/following{/other_user}","gists_url":"https://api.github.com/users/NaNDiva/gists{/gist_id}","starred_url":"https://api.github.com/users/NaNDiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaNDiva/subscriptions","organizations_url":"https://api.github.com/users/NaNDiva/orgs","repos_url":"https://api.github.com/users/NaNDiva/repos","events_url":"https://api.github.com/users/NaNDiva/events{/privacy}","received_events_url":"https://api.github.com/users/NaNDiva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-27T09:12:01Z","updated_at":"2016-10-28T00:13:30Z","closed_at":null,"body":"Hi Swifty\r\nNice Library\r\n\r\nI wonder if you can give me pointers on using the TwitchPubSub?\r\n\r\nNo matter what I do I cannot seem to get authenticated. I receive an ERR_BADAUTH response from the listener. I've tried\r\n\r\n`TwitchPubSub.ListenToChatModeratorActions(modId (from Api), StreamerId (from api), $\"oauth:{OauthTokenForMod}\");`\r\n\r\n`TwitchPubSub.ListenToChatModeratorActions(modId (from Api), BroadcasterId (from api), $\"{OauthTokenForMod}\");`\r\n\r\n`TwitchPubSub.ListenToChatModeratorActions(BroadcasterId(from Api), BroadcasterId (from api), $\"{OauthTokenForBroadcaster}\");`\r\n\r\nand\r\n\r\n`TwitchPubSub.ListenToChatModeratorActions(BroadcasterId(from Api), BroadcasterId (from api), $\"oauth:{OauthTokenForBroadcaster}\");`\r\n\r\nEvery single listen attempt gives me back a ERR_BADAUTH response from PubSub, then the connection closes after 15 seconds (which is expected because an authenticated session has not been setup)"},"comment":{"url":"https://api.github.com/repos/swiftyspiffy/TwitchLib/issues/comments/256804807","html_url":"https://github.com/swiftyspiffy/TwitchLib/issues/74#issuecomment-256804807","issue_url":"https://api.github.com/repos/swiftyspiffy/TwitchLib/issues/74","id":256804807,"user":{"login":"NaNDiva","id":23081959,"avatar_url":"https://avatars.githubusercontent.com/u/23081959?v=3","gravatar_id":"","url":"https://api.github.com/users/NaNDiva","html_url":"https://github.com/NaNDiva","followers_url":"https://api.github.com/users/NaNDiva/followers","following_url":"https://api.github.com/users/NaNDiva/following{/other_user}","gists_url":"https://api.github.com/users/NaNDiva/gists{/gist_id}","starred_url":"https://api.github.com/users/NaNDiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NaNDiva/subscriptions","organizations_url":"https://api.github.com/users/NaNDiva/orgs","repos_url":"https://api.github.com/users/NaNDiva/repos","events_url":"https://api.github.com/users/NaNDiva/events{/privacy}","received_events_url":"https://api.github.com/users/NaNDiva/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T00:13:30Z","updated_at":"2016-10-28T00:13:30Z","body":"Also the user ids are just _id returned in a User Object from a request to the kraken users endpoint aren't they?\r\n\r\nhttps://github.com/justintv/Twitch-API/blob/master/v3_resources/users.md#get-usersuser"}}
{"actor":{"display_login":"NaNDiva"}}