{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/ambethoney/linkedin_oauth/pulls/4","id":27459486,"html_url":"https://github.com/ambethoney/linkedin_oauth/pull/4","diff_url":"https://github.com/ambethoney/linkedin_oauth/pull/4.diff","patch_url":"https://github.com/ambethoney/linkedin_oauth/pull/4.patch","issue_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/issues/4","number":4,"state":"closed","locked":false,"title":"clear issue #1; problems with LI OAuth","user":{"login":"h4w5","id":1784387,"avatar_url":"https://avatars.githubusercontent.com/u/1784387?v=3","gravatar_id":"","url":"https://api.github.com/users/h4w5","html_url":"https://github.com/h4w5","followers_url":"https://api.github.com/users/h4w5/followers","following_url":"https://api.github.com/users/h4w5/following{/other_user}","gists_url":"https://api.github.com/users/h4w5/gists{/gist_id}","starred_url":"https://api.github.com/users/h4w5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h4w5/subscriptions","organizations_url":"https://api.github.com/users/h4w5/orgs","repos_url":"https://api.github.com/users/h4w5/repos","events_url":"https://api.github.com/users/h4w5/events{/privacy}","received_events_url":"https://api.github.com/users/h4w5/received_events","type":"User","site_admin":false},"body":"@ambethoney the main problem was with your API call -- you had it malformed and were using an id var that didnt exist, when it should just have been asking for user ~ (current user). also moved some logic around and added some comments. CHECK OUT THE DIFF!","created_at":"2015-01-15T20:29:09Z","updated_at":"2015-01-16T02:01:31Z","closed_at":"2015-01-16T02:01:31Z","merged_at":"2015-01-16T02:01:31Z","merge_commit_sha":"ea969e155d842720f28911a3ebd2d31230bd16b6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/issues/4/comments","statuses_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/statuses/eff2013ce90eaffbc0cf4de8113357ebb56d5b4a","head":{"label":"ambethoney:issue_1","ref":"issue_1","sha":"eff2013ce90eaffbc0cf4de8113357ebb56d5b4a","user":{"login":"ambethoney","id":8238659,"avatar_url":"https://avatars.githubusercontent.com/u/8238659?v=3","gravatar_id":"","url":"https://api.github.com/users/ambethoney","html_url":"https://github.com/ambethoney","followers_url":"https://api.github.com/users/ambethoney/followers","following_url":"https://api.github.com/users/ambethoney/following{/other_user}","gists_url":"https://api.github.com/users/ambethoney/gists{/gist_id}","starred_url":"https://api.github.com/users/ambethoney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambethoney/subscriptions","organizations_url":"https://api.github.com/users/ambethoney/orgs","repos_url":"https://api.github.com/users/ambethoney/repos","events_url":"https://api.github.com/users/ambethoney/events{/privacy}","received_events_url":"https://api.github.com/users/ambethoney/received_events","type":"User","site_admin":false},"repo":{"id":29268718,"name":"linkedin_oauth","full_name":"ambethoney/linkedin_oauth","owner":{"login":"ambethoney","id":8238659,"avatar_url":"https://avatars.githubusercontent.com/u/8238659?v=3","gravatar_id":"","url":"https://api.github.com/users/ambethoney","html_url":"https://github.com/ambethoney","followers_url":"https://api.github.com/users/ambethoney/followers","following_url":"https://api.github.com/users/ambethoney/following{/other_user}","gists_url":"https://api.github.com/users/ambethoney/gists{/gist_id}","starred_url":"https://api.github.com/users/ambethoney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambethoney/subscriptions","organizations_url":"https://api.github.com/users/ambethoney/orgs","repos_url":"https://api.github.com/users/ambethoney/repos","events_url":"https://api.github.com/users/ambethoney/events{/privacy}","received_events_url":"https://api.github.com/users/ambethoney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ambethoney/linkedin_oauth","description":null,"fork":false,"url":"https://api.github.com/repos/ambethoney/linkedin_oauth","forks_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/forks","keys_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/teams","hooks_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/hooks","issue_events_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/issues/events{/number}","events_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/events","assignees_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/assignees{/user}","branches_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/branches{/branch}","tags_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/tags","blobs_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/git/refs{/sha}","trees_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/statuses/{sha}","languages_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/languages","stargazers_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/stargazers","contributors_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/contributors","subscribers_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/subscribers","subscription_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/subscription","commits_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/commits{/sha}","git_commits_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/git/commits{/sha}","comments_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/comments{/number}","issue_comment_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/issues/comments/{number}","contents_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/contents/{+path}","compare_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/merges","archive_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/downloads","issues_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/issues{/number}","pulls_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/pulls{/number}","milestones_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/milestones{/number}","notifications_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/labels{/name}","releases_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/releases{/id}","created_at":"2015-01-14T22:18:58Z","updated_at":"2015-01-15T20:01:40Z","pushed_at":"2015-01-16T02:01:31Z","git_url":"git://github.com/ambethoney/linkedin_oauth.git","ssh_url":"git@github.com:ambethoney/linkedin_oauth.git","clone_url":"https://github.com/ambethoney/linkedin_oauth.git","svn_url":"https://github.com/ambethoney/linkedin_oauth","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"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":"ambethoney:master","ref":"master","sha":"fdf7d3bcc6bdae0143c8261f88632c236ec43581","user":{"login":"ambethoney","id":8238659,"avatar_url":"https://avatars.githubusercontent.com/u/8238659?v=3","gravatar_id":"","url":"https://api.github.com/users/ambethoney","html_url":"https://github.com/ambethoney","followers_url":"https://api.github.com/users/ambethoney/followers","following_url":"https://api.github.com/users/ambethoney/following{/other_user}","gists_url":"https://api.github.com/users/ambethoney/gists{/gist_id}","starred_url":"https://api.github.com/users/ambethoney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambethoney/subscriptions","organizations_url":"https://api.github.com/users/ambethoney/orgs","repos_url":"https://api.github.com/users/ambethoney/repos","events_url":"https://api.github.com/users/ambethoney/events{/privacy}","received_events_url":"https://api.github.com/users/ambethoney/received_events","type":"User","site_admin":false},"repo":{"id":29268718,"name":"linkedin_oauth","full_name":"ambethoney/linkedin_oauth","owner":{"login":"ambethoney","id":8238659,"avatar_url":"https://avatars.githubusercontent.com/u/8238659?v=3","gravatar_id":"","url":"https://api.github.com/users/ambethoney","html_url":"https://github.com/ambethoney","followers_url":"https://api.github.com/users/ambethoney/followers","following_url":"https://api.github.com/users/ambethoney/following{/other_user}","gists_url":"https://api.github.com/users/ambethoney/gists{/gist_id}","starred_url":"https://api.github.com/users/ambethoney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambethoney/subscriptions","organizations_url":"https://api.github.com/users/ambethoney/orgs","repos_url":"https://api.github.com/users/ambethoney/repos","events_url":"https://api.github.com/users/ambethoney/events{/privacy}","received_events_url":"https://api.github.com/users/ambethoney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ambethoney/linkedin_oauth","description":null,"fork":false,"url":"https://api.github.com/repos/ambethoney/linkedin_oauth","forks_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/forks","keys_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/teams","hooks_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/hooks","issue_events_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/issues/events{/number}","events_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/events","assignees_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/assignees{/user}","branches_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/branches{/branch}","tags_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/tags","blobs_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/git/refs{/sha}","trees_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/statuses/{sha}","languages_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/languages","stargazers_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/stargazers","contributors_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/contributors","subscribers_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/subscribers","subscription_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/subscription","commits_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/commits{/sha}","git_commits_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/git/commits{/sha}","comments_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/comments{/number}","issue_comment_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/issues/comments/{number}","contents_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/contents/{+path}","compare_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/merges","archive_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/downloads","issues_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/issues{/number}","pulls_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/pulls{/number}","milestones_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/milestones{/number}","notifications_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/labels{/name}","releases_url":"https://api.github.com/repos/ambethoney/linkedin_oauth/releases{/id}","created_at":"2015-01-14T22:18:58Z","updated_at":"2015-01-15T20:01:40Z","pushed_at":"2015-01-16T02:01:31Z","git_url":"git://github.com/ambethoney/linkedin_oauth.git","ssh_url":"git@github.com:ambethoney/linkedin_oauth.git","clone_url":"https://github.com/ambethoney/linkedin_oauth.git","svn_url":"https://github.com/ambethoney/linkedin_oauth","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"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/ambethoney/linkedin_oauth/pulls/4"},"html":{"href":"https://github.com/ambethoney/linkedin_oauth/pull/4"},"issue":{"href":"https://api.github.com/repos/ambethoney/linkedin_oauth/issues/4"},"comments":{"href":"https://api.github.com/repos/ambethoney/linkedin_oauth/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ambethoney/linkedin_oauth/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ambethoney/linkedin_oauth/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ambethoney/linkedin_oauth/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ambethoney/linkedin_oauth/statuses/eff2013ce90eaffbc0cf4de8113357ebb56d5b4a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ambethoney","id":8238659,"avatar_url":"https://avatars.githubusercontent.com/u/8238659?v=3","gravatar_id":"","url":"https://api.github.com/users/ambethoney","html_url":"https://github.com/ambethoney","followers_url":"https://api.github.com/users/ambethoney/followers","following_url":"https://api.github.com/users/ambethoney/following{/other_user}","gists_url":"https://api.github.com/users/ambethoney/gists{/gist_id}","starred_url":"https://api.github.com/users/ambethoney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambethoney/subscriptions","organizations_url":"https://api.github.com/users/ambethoney/orgs","repos_url":"https://api.github.com/users/ambethoney/repos","events_url":"https://api.github.com/users/ambethoney/events{/privacy}","received_events_url":"https://api.github.com/users/ambethoney/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":12,"changed_files":3}}