{"action":"created","comment":{"url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls/comments/59855381","id":59855381,"diff_hunk":"@@ -1,7 +1,20 @@\n LOI = LandsOfIllusions\n PAA = PixelArtAcademy\n+Twit = Npm.require 'twit'\n \n Meteor.methods\n+  getImgFromTweet: (id) ->\n+    if Meteor.settings.twitter\n+      @_tweet = new Twit\n+        consumer_key: Meteor.settings.twitter.consumerKey\n+        consumer_secret: Meteor.settings.twitter.secret\n+        app_only_auth: true\n+\n+      @_tweetGetSync = Meteor.wrapAsync( @_tweet.get.bind @_tweet )","path":"packages/practice/checkin/methods-server.coffee","position":13,"original_position":13,"commit_id":"506b82e90b0d36686c0c7c73b34bd411fc925349","original_commit_id":"506b82e90b0d36686c0c7c73b34bd411fc925349","user":{"login":"MatejJan","id":565736,"avatar_url":"https://avatars.githubusercontent.com/u/565736?v=3","gravatar_id":"","url":"https://api.github.com/users/MatejJan","html_url":"https://github.com/MatejJan","followers_url":"https://api.github.com/users/MatejJan/followers","following_url":"https://api.github.com/users/MatejJan/following{/other_user}","gists_url":"https://api.github.com/users/MatejJan/gists{/gist_id}","starred_url":"https://api.github.com/users/MatejJan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatejJan/subscriptions","organizations_url":"https://api.github.com/users/MatejJan/orgs","repos_url":"https://api.github.com/users/MatejJan/repos","events_url":"https://api.github.com/users/MatejJan/events{/privacy}","received_events_url":"https://api.github.com/users/MatejJan/received_events","type":"User","site_admin":false},"body":"No need for parentheses.","created_at":"2016-04-15T10:25:30Z","updated_at":"2016-04-15T10:25:30Z","html_url":"https://github.com/Retronator/Pixel-Art-Academy/pull/2#discussion_r59855381","pull_request_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls/comments/59855381"},"html":{"href":"https://github.com/Retronator/Pixel-Art-Academy/pull/2#discussion_r59855381"},"pull_request":{"href":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls/2","id":66425342,"html_url":"https://github.com/Retronator/Pixel-Art-Academy/pull/2","diff_url":"https://github.com/Retronator/Pixel-Art-Academy/pull/2.diff","patch_url":"https://github.com/Retronator/Pixel-Art-Academy/pull/2.patch","issue_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/issues/2","number":2,"state":"open","locked":false,"title":"Check-ins from Twitter posts.","user":{"login":"objectsforheads","id":16621659,"avatar_url":"https://avatars.githubusercontent.com/u/16621659?v=3","gravatar_id":"","url":"https://api.github.com/users/objectsforheads","html_url":"https://github.com/objectsforheads","followers_url":"https://api.github.com/users/objectsforheads/followers","following_url":"https://api.github.com/users/objectsforheads/following{/other_user}","gists_url":"https://api.github.com/users/objectsforheads/gists{/gist_id}","starred_url":"https://api.github.com/users/objectsforheads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/objectsforheads/subscriptions","organizations_url":"https://api.github.com/users/objectsforheads/orgs","repos_url":"https://api.github.com/users/objectsforheads/repos","events_url":"https://api.github.com/users/objectsforheads/events{/privacy}","received_events_url":"https://api.github.com/users/objectsforheads/received_events","type":"User","site_admin":false},"body":"Added ability to pull check-in images from twitter using their API.\r\nAlso added basic user feedback when check-ing in.","created_at":"2016-04-14T03:46:25Z","updated_at":"2016-04-15T10:25:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d58aa648a44d8b7095082c67fb195a1e6f56c2a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/issues/2/comments","statuses_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/statuses/506b82e90b0d36686c0c7c73b34bd411fc925349","head":{"label":"Retronator:ExtImgUpload","ref":"ExtImgUpload","sha":"506b82e90b0d36686c0c7c73b34bd411fc925349","user":{"login":"Retronator","id":14362315,"avatar_url":"https://avatars.githubusercontent.com/u/14362315?v=3","gravatar_id":"","url":"https://api.github.com/users/Retronator","html_url":"https://github.com/Retronator","followers_url":"https://api.github.com/users/Retronator/followers","following_url":"https://api.github.com/users/Retronator/following{/other_user}","gists_url":"https://api.github.com/users/Retronator/gists{/gist_id}","starred_url":"https://api.github.com/users/Retronator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Retronator/subscriptions","organizations_url":"https://api.github.com/users/Retronator/orgs","repos_url":"https://api.github.com/users/Retronator/repos","events_url":"https://api.github.com/users/Retronator/events{/privacy}","received_events_url":"https://api.github.com/users/Retronator/received_events","type":"Organization","site_admin":false},"repo":{"id":42780465,"name":"Pixel-Art-Academy","full_name":"Retronator/Pixel-Art-Academy","owner":{"login":"Retronator","id":14362315,"avatar_url":"https://avatars.githubusercontent.com/u/14362315?v=3","gravatar_id":"","url":"https://api.github.com/users/Retronator","html_url":"https://github.com/Retronator","followers_url":"https://api.github.com/users/Retronator/followers","following_url":"https://api.github.com/users/Retronator/following{/other_user}","gists_url":"https://api.github.com/users/Retronator/gists{/gist_id}","starred_url":"https://api.github.com/users/Retronator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Retronator/subscriptions","organizations_url":"https://api.github.com/users/Retronator/orgs","repos_url":"https://api.github.com/users/Retronator/repos","events_url":"https://api.github.com/users/Retronator/events{/privacy}","received_events_url":"https://api.github.com/users/Retronator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Retronator/Pixel-Art-Academy","description":"An adventure game for learning to draw.","fork":false,"url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy","forks_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/forks","keys_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/teams","hooks_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/hooks","issue_events_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/issues/events{/number}","events_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/events","assignees_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/assignees{/user}","branches_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/branches{/branch}","tags_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/tags","blobs_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/statuses/{sha}","languages_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/languages","stargazers_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/stargazers","contributors_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/contributors","subscribers_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/subscribers","subscription_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/subscription","commits_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/issues/comments{/number}","contents_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/contents/{+path}","compare_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/merges","archive_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/downloads","issues_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/issues{/number}","pulls_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls{/number}","milestones_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/milestones{/number}","notifications_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/labels{/name}","releases_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/releases{/id}","deployments_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/deployments","created_at":"2015-09-19T16:30:17Z","updated_at":"2016-01-16T12:55:03Z","pushed_at":"2016-04-14T03:46:25Z","git_url":"git://github.com/Retronator/Pixel-Art-Academy.git","ssh_url":"git@github.com:Retronator/Pixel-Art-Academy.git","clone_url":"https://github.com/Retronator/Pixel-Art-Academy.git","svn_url":"https://github.com/Retronator/Pixel-Art-Academy","homepage":"","size":81,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"Retronator:master","ref":"master","sha":"16f0ab592dfe6f3f754d0925ae6cd8756b323eca","user":{"login":"Retronator","id":14362315,"avatar_url":"https://avatars.githubusercontent.com/u/14362315?v=3","gravatar_id":"","url":"https://api.github.com/users/Retronator","html_url":"https://github.com/Retronator","followers_url":"https://api.github.com/users/Retronator/followers","following_url":"https://api.github.com/users/Retronator/following{/other_user}","gists_url":"https://api.github.com/users/Retronator/gists{/gist_id}","starred_url":"https://api.github.com/users/Retronator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Retronator/subscriptions","organizations_url":"https://api.github.com/users/Retronator/orgs","repos_url":"https://api.github.com/users/Retronator/repos","events_url":"https://api.github.com/users/Retronator/events{/privacy}","received_events_url":"https://api.github.com/users/Retronator/received_events","type":"Organization","site_admin":false},"repo":{"id":42780465,"name":"Pixel-Art-Academy","full_name":"Retronator/Pixel-Art-Academy","owner":{"login":"Retronator","id":14362315,"avatar_url":"https://avatars.githubusercontent.com/u/14362315?v=3","gravatar_id":"","url":"https://api.github.com/users/Retronator","html_url":"https://github.com/Retronator","followers_url":"https://api.github.com/users/Retronator/followers","following_url":"https://api.github.com/users/Retronator/following{/other_user}","gists_url":"https://api.github.com/users/Retronator/gists{/gist_id}","starred_url":"https://api.github.com/users/Retronator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Retronator/subscriptions","organizations_url":"https://api.github.com/users/Retronator/orgs","repos_url":"https://api.github.com/users/Retronator/repos","events_url":"https://api.github.com/users/Retronator/events{/privacy}","received_events_url":"https://api.github.com/users/Retronator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Retronator/Pixel-Art-Academy","description":"An adventure game for learning to draw.","fork":false,"url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy","forks_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/forks","keys_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/teams","hooks_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/hooks","issue_events_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/issues/events{/number}","events_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/events","assignees_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/assignees{/user}","branches_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/branches{/branch}","tags_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/tags","blobs_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/statuses/{sha}","languages_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/languages","stargazers_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/stargazers","contributors_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/contributors","subscribers_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/subscribers","subscription_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/subscription","commits_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/issues/comments{/number}","contents_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/contents/{+path}","compare_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/merges","archive_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/downloads","issues_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/issues{/number}","pulls_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls{/number}","milestones_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/milestones{/number}","notifications_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/labels{/name}","releases_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/releases{/id}","deployments_url":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/deployments","created_at":"2015-09-19T16:30:17Z","updated_at":"2016-01-16T12:55:03Z","pushed_at":"2016-04-14T03:46:25Z","git_url":"git://github.com/Retronator/Pixel-Art-Academy.git","ssh_url":"git@github.com:Retronator/Pixel-Art-Academy.git","clone_url":"https://github.com/Retronator/Pixel-Art-Academy.git","svn_url":"https://github.com/Retronator/Pixel-Art-Academy","homepage":"","size":81,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls/2"},"html":{"href":"https://github.com/Retronator/Pixel-Art-Academy/pull/2"},"issue":{"href":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/issues/2"},"comments":{"href":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Retronator/Pixel-Art-Academy/statuses/506b82e90b0d36686c0c7c73b34bd411fc925349"}}}}