{"action":"created","issue":{"url":"https://api.github.com/repos/IonicaBizau/youtube-api/issues/28","labels_url":"https://api.github.com/repos/IonicaBizau/youtube-api/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/IonicaBizau/youtube-api/issues/28/comments","events_url":"https://api.github.com/repos/IonicaBizau/youtube-api/issues/28/events","html_url":"https://github.com/IonicaBizau/youtube-api/issues/28","id":55863982,"number":28,"title":"Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.","user":{"login":"OKNoah","id":3739277,"avatar_url":"https://avatars.githubusercontent.com/u/3739277?v=3","gravatar_id":"","url":"https://api.github.com/users/OKNoah","html_url":"https://github.com/OKNoah","followers_url":"https://api.github.com/users/OKNoah/followers","following_url":"https://api.github.com/users/OKNoah/following{/other_user}","gists_url":"https://api.github.com/users/OKNoah/gists{/gist_id}","starred_url":"https://api.github.com/users/OKNoah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OKNoah/subscriptions","organizations_url":"https://api.github.com/users/OKNoah/orgs","repos_url":"https://api.github.com/users/OKNoah/repos","events_url":"https://api.github.com/users/OKNoah/events{/privacy}","received_events_url":"https://api.github.com/users/OKNoah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-29T06:57:02Z","updated_at":"2015-01-29T07:14:30Z","closed_at":null,"body":"Confused about why this doesn't work. Using `q` node module for promises.\r\n\r\n\t\tQ.fcall(function () {\r\n\t\t\tYoutube.authenticate({\r\n\t\t\t\ttype: \"key\",\r\n\t\t\t\ttoken: \"MY-API-KEY\"\r\n\t\t\t})\r\n\t\t})\r\n\t\t\r\n\t\t// search for new video based on it's ID\r\n\t\t.then( function() {\r\n\t\t\r\n\t\t\tYoutube.videos.list({\r\n\t\t\t\tpart: \"snippet\",\r\n\t\t\t\tid: req.query.url\r\n\t\t\t}, function ( err, data ) {\r\n\r\n\t\t\t\t// check for problems\r\n\r\n\t\t\t\tif (err)\r\n\t\t\t\t\treturn console.log( err )\r\n\r\n\t\t\t\tif ( !data )\r\n\t\t\t\t\treturn res.json( \"There was no data\" )\r\n\r\n\t\t\t\treturn res.json(data)\r\n\t\t\t})\r\n\t\t})"},"comment":{"url":"https://api.github.com/repos/IonicaBizau/youtube-api/issues/comments/71980629","html_url":"https://github.com/IonicaBizau/youtube-api/issues/28#issuecomment-71980629","issue_url":"https://api.github.com/repos/IonicaBizau/youtube-api/issues/28","id":71980629,"user":{"login":"OKNoah","id":3739277,"avatar_url":"https://avatars.githubusercontent.com/u/3739277?v=3","gravatar_id":"","url":"https://api.github.com/users/OKNoah","html_url":"https://github.com/OKNoah","followers_url":"https://api.github.com/users/OKNoah/followers","following_url":"https://api.github.com/users/OKNoah/following{/other_user}","gists_url":"https://api.github.com/users/OKNoah/gists{/gist_id}","starred_url":"https://api.github.com/users/OKNoah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OKNoah/subscriptions","organizations_url":"https://api.github.com/users/OKNoah/orgs","repos_url":"https://api.github.com/users/OKNoah/repos","events_url":"https://api.github.com/users/OKNoah/events{/privacy}","received_events_url":"https://api.github.com/users/OKNoah/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T07:14:30Z","updated_at":"2015-01-29T07:14:30Z","body":"Ah, `token` should be `key` when not using OAuth."}}