{"action":"created","comment":{"url":"https://api.github.com/repos/cpsoinos/ntgrate/pulls/comments/41795694","id":41795694,"diff_hunk":"@@ -30,6 +30,47 @@ def destroy\n     @facebook_share.delete_share\n   end\n \n+  def like\n+    @facebook_account = current_user.facebook_account\n+    @share_uid = params[:share_uid]\n+    respond_to do |format|\n+      format.js do\n+        if FacebookActionTaker.new(@facebook_account, @share_uid).like\n+        else\n+          flash.now[:alert] = \"Error posting to Facebook\"\n+        end\n+      end\n+    end\n+  end\n+\n+  def unlike\n+    @facebook_account = current_user.facebook_account\n+    @share_uid = params[:share_uid]\n+    respond_to do |format|\n+      format.js do\n+        if FacebookActionTaker.new(@facebook_account, @share_uid).unlike\n+        else\n+          flash.now[:alert] = \"Error posting to Facebook\"\n+        end\n+      end\n+    end\n+  end\n+\n+  def comment","path":"app/controllers/facebook_shares_controller.rb","position":30,"original_position":30,"commit_id":"cacf3687047baf5c6cd091569e6cf16c5269209a","original_commit_id":"cacf3687047baf5c6cd091569e6cf16c5269209a","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Assignment Branch Condition size for comment is too high. [16.31/15]","created_at":"2015-10-12T20:08:23Z","updated_at":"2015-10-12T20:08:23Z","html_url":"https://github.com/cpsoinos/ntgrate/pull/49#discussion_r41795694","pull_request_url":"https://api.github.com/repos/cpsoinos/ntgrate/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/cpsoinos/ntgrate/pulls/comments/41795694"},"html":{"href":"https://github.com/cpsoinos/ntgrate/pull/49#discussion_r41795694"},"pull_request":{"href":"https://api.github.com/repos/cpsoinos/ntgrate/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/cpsoinos/ntgrate/pulls/49","id":47459077,"html_url":"https://github.com/cpsoinos/ntgrate/pull/49","diff_url":"https://github.com/cpsoinos/ntgrate/pull/49.diff","patch_url":"https://github.com/cpsoinos/ntgrate/pull/49.patch","issue_url":"https://api.github.com/repos/cpsoinos/ntgrate/issues/49","number":49,"state":"open","locked":false,"title":"Facebook actions","user":{"login":"cpsoinos","id":10081464,"avatar_url":"https://avatars.githubusercontent.com/u/10081464?v=3","gravatar_id":"","url":"https://api.github.com/users/cpsoinos","html_url":"https://github.com/cpsoinos","followers_url":"https://api.github.com/users/cpsoinos/followers","following_url":"https://api.github.com/users/cpsoinos/following{/other_user}","gists_url":"https://api.github.com/users/cpsoinos/gists{/gist_id}","starred_url":"https://api.github.com/users/cpsoinos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpsoinos/subscriptions","organizations_url":"https://api.github.com/users/cpsoinos/orgs","repos_url":"https://api.github.com/users/cpsoinos/repos","events_url":"https://api.github.com/users/cpsoinos/events{/privacy}","received_events_url":"https://api.github.com/users/cpsoinos/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-12T20:08:07Z","updated_at":"2015-10-12T20:08:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76f8a04241ac6069f5638ef369f8474b2e6fbdf7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cpsoinos/ntgrate/pulls/49/commits","review_comments_url":"https://api.github.com/repos/cpsoinos/ntgrate/pulls/49/comments","review_comment_url":"https://api.github.com/repos/cpsoinos/ntgrate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cpsoinos/ntgrate/issues/49/comments","statuses_url":"https://api.github.com/repos/cpsoinos/ntgrate/statuses/cacf3687047baf5c6cd091569e6cf16c5269209a","head":{"label":"cpsoinos:facebook_actions","ref":"facebook_actions","sha":"cacf3687047baf5c6cd091569e6cf16c5269209a","user":{"login":"cpsoinos","id":10081464,"avatar_url":"https://avatars.githubusercontent.com/u/10081464?v=3","gravatar_id":"","url":"https://api.github.com/users/cpsoinos","html_url":"https://github.com/cpsoinos","followers_url":"https://api.github.com/users/cpsoinos/followers","following_url":"https://api.github.com/users/cpsoinos/following{/other_user}","gists_url":"https://api.github.com/users/cpsoinos/gists{/gist_id}","starred_url":"https://api.github.com/users/cpsoinos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpsoinos/subscriptions","organizations_url":"https://api.github.com/users/cpsoinos/orgs","repos_url":"https://api.github.com/users/cpsoinos/repos","events_url":"https://api.github.com/users/cpsoinos/events{/privacy}","received_events_url":"https://api.github.com/users/cpsoinos/received_events","type":"User","site_admin":false},"repo":{"id":40841616,"name":"ntgrate","full_name":"cpsoinos/ntgrate","owner":{"login":"cpsoinos","id":10081464,"avatar_url":"https://avatars.githubusercontent.com/u/10081464?v=3","gravatar_id":"","url":"https://api.github.com/users/cpsoinos","html_url":"https://github.com/cpsoinos","followers_url":"https://api.github.com/users/cpsoinos/followers","following_url":"https://api.github.com/users/cpsoinos/following{/other_user}","gists_url":"https://api.github.com/users/cpsoinos/gists{/gist_id}","starred_url":"https://api.github.com/users/cpsoinos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpsoinos/subscriptions","organizations_url":"https://api.github.com/users/cpsoinos/orgs","repos_url":"https://api.github.com/users/cpsoinos/repos","events_url":"https://api.github.com/users/cpsoinos/events{/privacy}","received_events_url":"https://api.github.com/users/cpsoinos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cpsoinos/ntgrate","description":"Integrate your social networks","fork":false,"url":"https://api.github.com/repos/cpsoinos/ntgrate","forks_url":"https://api.github.com/repos/cpsoinos/ntgrate/forks","keys_url":"https://api.github.com/repos/cpsoinos/ntgrate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpsoinos/ntgrate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpsoinos/ntgrate/teams","hooks_url":"https://api.github.com/repos/cpsoinos/ntgrate/hooks","issue_events_url":"https://api.github.com/repos/cpsoinos/ntgrate/issues/events{/number}","events_url":"https://api.github.com/repos/cpsoinos/ntgrate/events","assignees_url":"https://api.github.com/repos/cpsoinos/ntgrate/assignees{/user}","branches_url":"https://api.github.com/repos/cpsoinos/ntgrate/branches{/branch}","tags_url":"https://api.github.com/repos/cpsoinos/ntgrate/tags","blobs_url":"https://api.github.com/repos/cpsoinos/ntgrate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpsoinos/ntgrate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpsoinos/ntgrate/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpsoinos/ntgrate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpsoinos/ntgrate/statuses/{sha}","languages_url":"https://api.github.com/repos/cpsoinos/ntgrate/languages","stargazers_url":"https://api.github.com/repos/cpsoinos/ntgrate/stargazers","contributors_url":"https://api.github.com/repos/cpsoinos/ntgrate/contributors","subscribers_url":"https://api.github.com/repos/cpsoinos/ntgrate/subscribers","subscription_url":"https://api.github.com/repos/cpsoinos/ntgrate/subscription","commits_url":"https://api.github.com/repos/cpsoinos/ntgrate/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpsoinos/ntgrate/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpsoinos/ntgrate/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpsoinos/ntgrate/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpsoinos/ntgrate/contents/{+path}","compare_url":"https://api.github.com/repos/cpsoinos/ntgrate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpsoinos/ntgrate/merges","archive_url":"https://api.github.com/repos/cpsoinos/ntgrate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpsoinos/ntgrate/downloads","issues_url":"https://api.github.com/repos/cpsoinos/ntgrate/issues{/number}","pulls_url":"https://api.github.com/repos/cpsoinos/ntgrate/pulls{/number}","milestones_url":"https://api.github.com/repos/cpsoinos/ntgrate/milestones{/number}","notifications_url":"https://api.github.com/repos/cpsoinos/ntgrate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpsoinos/ntgrate/labels{/name}","releases_url":"https://api.github.com/repos/cpsoinos/ntgrate/releases{/id}","created_at":"2015-08-16T21:18:15Z","updated_at":"2015-10-03T21:23:57Z","pushed_at":"2015-10-12T20:08:07Z","git_url":"git://github.com/cpsoinos/ntgrate.git","ssh_url":"git@github.com:cpsoinos/ntgrate.git","clone_url":"https://github.com/cpsoinos/ntgrate.git","svn_url":"https://github.com/cpsoinos/ntgrate","homepage":"","size":8615,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cpsoinos:dev","ref":"dev","sha":"bc0af2030b1d90822029447e7eb7114f244ec4e6","user":{"login":"cpsoinos","id":10081464,"avatar_url":"https://avatars.githubusercontent.com/u/10081464?v=3","gravatar_id":"","url":"https://api.github.com/users/cpsoinos","html_url":"https://github.com/cpsoinos","followers_url":"https://api.github.com/users/cpsoinos/followers","following_url":"https://api.github.com/users/cpsoinos/following{/other_user}","gists_url":"https://api.github.com/users/cpsoinos/gists{/gist_id}","starred_url":"https://api.github.com/users/cpsoinos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpsoinos/subscriptions","organizations_url":"https://api.github.com/users/cpsoinos/orgs","repos_url":"https://api.github.com/users/cpsoinos/repos","events_url":"https://api.github.com/users/cpsoinos/events{/privacy}","received_events_url":"https://api.github.com/users/cpsoinos/received_events","type":"User","site_admin":false},"repo":{"id":40841616,"name":"ntgrate","full_name":"cpsoinos/ntgrate","owner":{"login":"cpsoinos","id":10081464,"avatar_url":"https://avatars.githubusercontent.com/u/10081464?v=3","gravatar_id":"","url":"https://api.github.com/users/cpsoinos","html_url":"https://github.com/cpsoinos","followers_url":"https://api.github.com/users/cpsoinos/followers","following_url":"https://api.github.com/users/cpsoinos/following{/other_user}","gists_url":"https://api.github.com/users/cpsoinos/gists{/gist_id}","starred_url":"https://api.github.com/users/cpsoinos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpsoinos/subscriptions","organizations_url":"https://api.github.com/users/cpsoinos/orgs","repos_url":"https://api.github.com/users/cpsoinos/repos","events_url":"https://api.github.com/users/cpsoinos/events{/privacy}","received_events_url":"https://api.github.com/users/cpsoinos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cpsoinos/ntgrate","description":"Integrate your social networks","fork":false,"url":"https://api.github.com/repos/cpsoinos/ntgrate","forks_url":"https://api.github.com/repos/cpsoinos/ntgrate/forks","keys_url":"https://api.github.com/repos/cpsoinos/ntgrate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpsoinos/ntgrate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpsoinos/ntgrate/teams","hooks_url":"https://api.github.com/repos/cpsoinos/ntgrate/hooks","issue_events_url":"https://api.github.com/repos/cpsoinos/ntgrate/issues/events{/number}","events_url":"https://api.github.com/repos/cpsoinos/ntgrate/events","assignees_url":"https://api.github.com/repos/cpsoinos/ntgrate/assignees{/user}","branches_url":"https://api.github.com/repos/cpsoinos/ntgrate/branches{/branch}","tags_url":"https://api.github.com/repos/cpsoinos/ntgrate/tags","blobs_url":"https://api.github.com/repos/cpsoinos/ntgrate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpsoinos/ntgrate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpsoinos/ntgrate/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpsoinos/ntgrate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpsoinos/ntgrate/statuses/{sha}","languages_url":"https://api.github.com/repos/cpsoinos/ntgrate/languages","stargazers_url":"https://api.github.com/repos/cpsoinos/ntgrate/stargazers","contributors_url":"https://api.github.com/repos/cpsoinos/ntgrate/contributors","subscribers_url":"https://api.github.com/repos/cpsoinos/ntgrate/subscribers","subscription_url":"https://api.github.com/repos/cpsoinos/ntgrate/subscription","commits_url":"https://api.github.com/repos/cpsoinos/ntgrate/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpsoinos/ntgrate/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpsoinos/ntgrate/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpsoinos/ntgrate/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpsoinos/ntgrate/contents/{+path}","compare_url":"https://api.github.com/repos/cpsoinos/ntgrate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpsoinos/ntgrate/merges","archive_url":"https://api.github.com/repos/cpsoinos/ntgrate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpsoinos/ntgrate/downloads","issues_url":"https://api.github.com/repos/cpsoinos/ntgrate/issues{/number}","pulls_url":"https://api.github.com/repos/cpsoinos/ntgrate/pulls{/number}","milestones_url":"https://api.github.com/repos/cpsoinos/ntgrate/milestones{/number}","notifications_url":"https://api.github.com/repos/cpsoinos/ntgrate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpsoinos/ntgrate/labels{/name}","releases_url":"https://api.github.com/repos/cpsoinos/ntgrate/releases{/id}","created_at":"2015-08-16T21:18:15Z","updated_at":"2015-10-03T21:23:57Z","pushed_at":"2015-10-12T20:08:07Z","git_url":"git://github.com/cpsoinos/ntgrate.git","ssh_url":"git@github.com:cpsoinos/ntgrate.git","clone_url":"https://github.com/cpsoinos/ntgrate.git","svn_url":"https://github.com/cpsoinos/ntgrate","homepage":"","size":8615,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cpsoinos/ntgrate/pulls/49"},"html":{"href":"https://github.com/cpsoinos/ntgrate/pull/49"},"issue":{"href":"https://api.github.com/repos/cpsoinos/ntgrate/issues/49"},"comments":{"href":"https://api.github.com/repos/cpsoinos/ntgrate/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/cpsoinos/ntgrate/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/cpsoinos/ntgrate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cpsoinos/ntgrate/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/cpsoinos/ntgrate/statuses/cacf3687047baf5c6cd091569e6cf16c5269209a"}}}}