{"action":"created","issue":{"url":"https://api.github.com/repos/desmondmorris/node-twitter/issues/170","repository_url":"https://api.github.com/repos/desmondmorris/node-twitter","labels_url":"https://api.github.com/repos/desmondmorris/node-twitter/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/desmondmorris/node-twitter/issues/170/comments","events_url":"https://api.github.com/repos/desmondmorris/node-twitter/issues/170/events","html_url":"https://github.com/desmondmorris/node-twitter/issues/170","id":161483920,"number":170,"title":"Syntax error","user":{"login":"staminna","id":515180,"avatar_url":"https://avatars.githubusercontent.com/u/515180?v=3","gravatar_id":"","url":"https://api.github.com/users/staminna","html_url":"https://github.com/staminna","followers_url":"https://api.github.com/users/staminna/followers","following_url":"https://api.github.com/users/staminna/following{/other_user}","gists_url":"https://api.github.com/users/staminna/gists{/gist_id}","starred_url":"https://api.github.com/users/staminna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staminna/subscriptions","organizations_url":"https://api.github.com/users/staminna/orgs","repos_url":"https://api.github.com/users/staminna/repos","events_url":"https://api.github.com/users/staminna/events{/privacy}","received_events_url":"https://api.github.com/users/staminna/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-21T16:35:09Z","updated_at":"2016-08-03T16:44:58Z","closed_at":null,"body":"Hi.\r\n\r\nAs per the examples, I am using client.stream('statuses/filter', {track: query}, function(stream) { in the following line, but there is a syntax error in:\r\n\r\n/var/nodejs/project/plugins/apis.js:104\r\n        throw error;\r\n        ^\r\napis.js:\r\n\r\nline 103->    stream.on('error', function(error) {\r\nline 104->        throw error;\r\nline 105->    });\r\n\r\nSyntaxError: Unexpected token E\r\n    at Object.parse (native)\r\n    at EventEmitter.receive (/var/nodejs/project/node_modules/twitter/lib/parser.js:40:21)\r\n    at IncomingMessage.<anonymous> (/var/nodejs/project/node_modules/twitter/lib/twitter.js:207:14)\r\n    at emitOne (events.js:82:20)\r\n    at IncomingMessage.emit (events.js:169:7)\r\n    at readableAddChunk (_stream_readable.js:146:16)\r\n    at IncomingMessage.Readable.push (_stream_readable.js:110:10)\r\n    at HTTPParser.parserOnBody (_http_common.js:109:22)\r\n    at TLSSocket.socketOnData (_http_client.js:305:20)\r\n    at emitOne (events.js:77:13)"},"comment":{"url":"https://api.github.com/repos/desmondmorris/node-twitter/issues/comments/237294100","html_url":"https://github.com/desmondmorris/node-twitter/issues/170#issuecomment-237294100","issue_url":"https://api.github.com/repos/desmondmorris/node-twitter/issues/170","id":237294100,"user":{"login":"reconbot","id":25966,"avatar_url":"https://avatars.githubusercontent.com/u/25966?v=3","gravatar_id":"","url":"https://api.github.com/users/reconbot","html_url":"https://github.com/reconbot","followers_url":"https://api.github.com/users/reconbot/followers","following_url":"https://api.github.com/users/reconbot/following{/other_user}","gists_url":"https://api.github.com/users/reconbot/gists{/gist_id}","starred_url":"https://api.github.com/users/reconbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reconbot/subscriptions","organizations_url":"https://api.github.com/users/reconbot/orgs","repos_url":"https://api.github.com/users/reconbot/repos","events_url":"https://api.github.com/users/reconbot/events{/privacy}","received_events_url":"https://api.github.com/users/reconbot/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T16:44:58Z","updated_at":"2016-08-03T16:44:58Z","body":"The master branch will say there's JSON error. PR #178 will change the error a bit, I'll make sure that gets published soonish.\r\n\r\nWhat version of `twitter` are you using?"}}
{"actor":{"display_login":"reconbot"}}