{"action":"created","comment":{"url":"https://api.github.com/repos/spira/spira/pulls/comments/36030496","id":36030496,"diff_hunk":"@@ -0,0 +1,52 @@\n+<?php\n+\n+namespace App\\Extensions\\Socialite;\n+\n+use App\\Extensions\\Socialite\\One\\TwitterProvider;\n+use App\\Extensions\\Socialite\\Two\\FacebookProvider;\n+use App\\Extensions\\Socialite\\Two\\GoogleProvider;\n+use Laravel\\Socialite\\SocialiteManager as Manager;\n+use League\\OAuth1\\Client\\Server\\Twitter as TwitterServer;\n+\n+class SocialiteManager extends Manager\n+{\n+    /**\n+     * Create an instance of the specified driver.\n+     *\n+     * @return \\Laravel\\Socialite\\Two\\AbstractProvider\n+     */\n+    protected function createFacebookDriver()\n+    {\n+        $config = $this->app['config']['services.facebook'];","path":"api/app/Extensions/Socialite/SocialiteManager.php","position":20,"original_position":20,"commit_id":"ae80d319a83c230cad6034c5a59067a6036534e7","original_commit_id":"ae80d319a83c230cad6034c5a59067a6036534e7","user":{"login":"xiphiaz","id":721513,"avatar_url":"https://avatars.githubusercontent.com/u/721513?v=3","gravatar_id":"","url":"https://api.github.com/users/xiphiaz","html_url":"https://github.com/xiphiaz","followers_url":"https://api.github.com/users/xiphiaz/followers","following_url":"https://api.github.com/users/xiphiaz/following{/other_user}","gists_url":"https://api.github.com/users/xiphiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/xiphiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiphiaz/subscriptions","organizations_url":"https://api.github.com/users/xiphiaz/orgs","repos_url":"https://api.github.com/users/xiphiaz/repos","events_url":"https://api.github.com/users/xiphiaz/events{/privacy}","received_events_url":"https://api.github.com/users/xiphiaz/received_events","type":"User","site_admin":false},"body":"It is preferable to use the Config method for accessing configuration. See http://lumen.laravel.com/docs/installation#accessing-configuration-values","created_at":"2015-08-01T04:23:33Z","updated_at":"2015-08-01T04:23:33Z","html_url":"https://github.com/spira/spira/pull/115#discussion_r36030496","pull_request_url":"https://api.github.com/repos/spira/spira/pulls/115","_links":{"self":{"href":"https://api.github.com/repos/spira/spira/pulls/comments/36030496"},"html":{"href":"https://github.com/spira/spira/pull/115#discussion_r36030496"},"pull_request":{"href":"https://api.github.com/repos/spira/spira/pulls/115"}}},"pull_request":{"url":"https://api.github.com/repos/spira/spira/pulls/115","id":41394812,"html_url":"https://github.com/spira/spira/pull/115","diff_url":"https://github.com/spira/spira/pull/115.diff","patch_url":"https://github.com/spira/spira/pull/115.patch","issue_url":"https://api.github.com/repos/spira/spira/issues/115","number":115,"state":"open","locked":false,"title":"Feature/social login","user":{"login":"artstorm","id":1165965,"avatar_url":"https://avatars.githubusercontent.com/u/1165965?v=3","gravatar_id":"","url":"https://api.github.com/users/artstorm","html_url":"https://github.com/artstorm","followers_url":"https://api.github.com/users/artstorm/followers","following_url":"https://api.github.com/users/artstorm/following{/other_user}","gists_url":"https://api.github.com/users/artstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/artstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artstorm/subscriptions","organizations_url":"https://api.github.com/users/artstorm/orgs","repos_url":"https://api.github.com/users/artstorm/repos","events_url":"https://api.github.com/users/artstorm/events{/privacy}","received_events_url":"https://api.github.com/users/artstorm/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-01T02:28:20Z","updated_at":"2015-08-01T04:23:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"346f097f61bc24e1e3043c59440cada31ab6ddab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spira/spira/pulls/115/commits","review_comments_url":"https://api.github.com/repos/spira/spira/pulls/115/comments","review_comment_url":"https://api.github.com/repos/spira/spira/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spira/spira/issues/115/comments","statuses_url":"https://api.github.com/repos/spira/spira/statuses/ae80d319a83c230cad6034c5a59067a6036534e7","head":{"label":"spira:feature/social-login","ref":"feature/social-login","sha":"ae80d319a83c230cad6034c5a59067a6036534e7","user":{"login":"spira","id":12660367,"avatar_url":"https://avatars.githubusercontent.com/u/12660367?v=3","gravatar_id":"","url":"https://api.github.com/users/spira","html_url":"https://github.com/spira","followers_url":"https://api.github.com/users/spira/followers","following_url":"https://api.github.com/users/spira/following{/other_user}","gists_url":"https://api.github.com/users/spira/gists{/gist_id}","starred_url":"https://api.github.com/users/spira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spira/subscriptions","organizations_url":"https://api.github.com/users/spira/orgs","repos_url":"https://api.github.com/users/spira/repos","events_url":"https://api.github.com/users/spira/events{/privacy}","received_events_url":"https://api.github.com/users/spira/received_events","type":"Organization","site_admin":false},"repo":{"id":35469223,"name":"spira","full_name":"spira/spira","owner":{"login":"spira","id":12660367,"avatar_url":"https://avatars.githubusercontent.com/u/12660367?v=3","gravatar_id":"","url":"https://api.github.com/users/spira","html_url":"https://github.com/spira","followers_url":"https://api.github.com/users/spira/followers","following_url":"https://api.github.com/users/spira/following{/other_user}","gists_url":"https://api.github.com/users/spira/gists{/gist_id}","starred_url":"https://api.github.com/users/spira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spira/subscriptions","organizations_url":"https://api.github.com/users/spira/orgs","repos_url":"https://api.github.com/users/spira/repos","events_url":"https://api.github.com/users/spira/events{/privacy}","received_events_url":"https://api.github.com/users/spira/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spira/spira","description":"Lumen + AngularJS with Docker project seed","fork":false,"url":"https://api.github.com/repos/spira/spira","forks_url":"https://api.github.com/repos/spira/spira/forks","keys_url":"https://api.github.com/repos/spira/spira/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spira/spira/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spira/spira/teams","hooks_url":"https://api.github.com/repos/spira/spira/hooks","issue_events_url":"https://api.github.com/repos/spira/spira/issues/events{/number}","events_url":"https://api.github.com/repos/spira/spira/events","assignees_url":"https://api.github.com/repos/spira/spira/assignees{/user}","branches_url":"https://api.github.com/repos/spira/spira/branches{/branch}","tags_url":"https://api.github.com/repos/spira/spira/tags","blobs_url":"https://api.github.com/repos/spira/spira/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spira/spira/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spira/spira/git/refs{/sha}","trees_url":"https://api.github.com/repos/spira/spira/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spira/spira/statuses/{sha}","languages_url":"https://api.github.com/repos/spira/spira/languages","stargazers_url":"https://api.github.com/repos/spira/spira/stargazers","contributors_url":"https://api.github.com/repos/spira/spira/contributors","subscribers_url":"https://api.github.com/repos/spira/spira/subscribers","subscription_url":"https://api.github.com/repos/spira/spira/subscription","commits_url":"https://api.github.com/repos/spira/spira/commits{/sha}","git_commits_url":"https://api.github.com/repos/spira/spira/git/commits{/sha}","comments_url":"https://api.github.com/repos/spira/spira/comments{/number}","issue_comment_url":"https://api.github.com/repos/spira/spira/issues/comments{/number}","contents_url":"https://api.github.com/repos/spira/spira/contents/{+path}","compare_url":"https://api.github.com/repos/spira/spira/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spira/spira/merges","archive_url":"https://api.github.com/repos/spira/spira/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spira/spira/downloads","issues_url":"https://api.github.com/repos/spira/spira/issues{/number}","pulls_url":"https://api.github.com/repos/spira/spira/pulls{/number}","milestones_url":"https://api.github.com/repos/spira/spira/milestones{/number}","notifications_url":"https://api.github.com/repos/spira/spira/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spira/spira/labels{/name}","releases_url":"https://api.github.com/repos/spira/spira/releases{/id}","created_at":"2015-05-12T05:44:10Z","updated_at":"2015-07-03T14:23:58Z","pushed_at":"2015-08-01T02:56:17Z","git_url":"git://github.com/spira/spira.git","ssh_url":"git@github.com:spira/spira.git","clone_url":"https://github.com/spira/spira.git","svn_url":"https://github.com/spira/spira","homepage":"http://spira.github.io","size":3811,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":7,"default_branch":"master"}},"base":{"label":"spira:master","ref":"master","sha":"8882722aeb2eb88f9cb6d210fb37def41c2481f2","user":{"login":"spira","id":12660367,"avatar_url":"https://avatars.githubusercontent.com/u/12660367?v=3","gravatar_id":"","url":"https://api.github.com/users/spira","html_url":"https://github.com/spira","followers_url":"https://api.github.com/users/spira/followers","following_url":"https://api.github.com/users/spira/following{/other_user}","gists_url":"https://api.github.com/users/spira/gists{/gist_id}","starred_url":"https://api.github.com/users/spira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spira/subscriptions","organizations_url":"https://api.github.com/users/spira/orgs","repos_url":"https://api.github.com/users/spira/repos","events_url":"https://api.github.com/users/spira/events{/privacy}","received_events_url":"https://api.github.com/users/spira/received_events","type":"Organization","site_admin":false},"repo":{"id":35469223,"name":"spira","full_name":"spira/spira","owner":{"login":"spira","id":12660367,"avatar_url":"https://avatars.githubusercontent.com/u/12660367?v=3","gravatar_id":"","url":"https://api.github.com/users/spira","html_url":"https://github.com/spira","followers_url":"https://api.github.com/users/spira/followers","following_url":"https://api.github.com/users/spira/following{/other_user}","gists_url":"https://api.github.com/users/spira/gists{/gist_id}","starred_url":"https://api.github.com/users/spira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spira/subscriptions","organizations_url":"https://api.github.com/users/spira/orgs","repos_url":"https://api.github.com/users/spira/repos","events_url":"https://api.github.com/users/spira/events{/privacy}","received_events_url":"https://api.github.com/users/spira/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spira/spira","description":"Lumen + AngularJS with Docker project seed","fork":false,"url":"https://api.github.com/repos/spira/spira","forks_url":"https://api.github.com/repos/spira/spira/forks","keys_url":"https://api.github.com/repos/spira/spira/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spira/spira/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spira/spira/teams","hooks_url":"https://api.github.com/repos/spira/spira/hooks","issue_events_url":"https://api.github.com/repos/spira/spira/issues/events{/number}","events_url":"https://api.github.com/repos/spira/spira/events","assignees_url":"https://api.github.com/repos/spira/spira/assignees{/user}","branches_url":"https://api.github.com/repos/spira/spira/branches{/branch}","tags_url":"https://api.github.com/repos/spira/spira/tags","blobs_url":"https://api.github.com/repos/spira/spira/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spira/spira/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spira/spira/git/refs{/sha}","trees_url":"https://api.github.com/repos/spira/spira/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spira/spira/statuses/{sha}","languages_url":"https://api.github.com/repos/spira/spira/languages","stargazers_url":"https://api.github.com/repos/spira/spira/stargazers","contributors_url":"https://api.github.com/repos/spira/spira/contributors","subscribers_url":"https://api.github.com/repos/spira/spira/subscribers","subscription_url":"https://api.github.com/repos/spira/spira/subscription","commits_url":"https://api.github.com/repos/spira/spira/commits{/sha}","git_commits_url":"https://api.github.com/repos/spira/spira/git/commits{/sha}","comments_url":"https://api.github.com/repos/spira/spira/comments{/number}","issue_comment_url":"https://api.github.com/repos/spira/spira/issues/comments{/number}","contents_url":"https://api.github.com/repos/spira/spira/contents/{+path}","compare_url":"https://api.github.com/repos/spira/spira/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spira/spira/merges","archive_url":"https://api.github.com/repos/spira/spira/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spira/spira/downloads","issues_url":"https://api.github.com/repos/spira/spira/issues{/number}","pulls_url":"https://api.github.com/repos/spira/spira/pulls{/number}","milestones_url":"https://api.github.com/repos/spira/spira/milestones{/number}","notifications_url":"https://api.github.com/repos/spira/spira/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spira/spira/labels{/name}","releases_url":"https://api.github.com/repos/spira/spira/releases{/id}","created_at":"2015-05-12T05:44:10Z","updated_at":"2015-07-03T14:23:58Z","pushed_at":"2015-08-01T02:56:17Z","git_url":"git://github.com/spira/spira.git","ssh_url":"git@github.com:spira/spira.git","clone_url":"https://github.com/spira/spira.git","svn_url":"https://github.com/spira/spira","homepage":"http://spira.github.io","size":3811,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spira/spira/pulls/115"},"html":{"href":"https://github.com/spira/spira/pull/115"},"issue":{"href":"https://api.github.com/repos/spira/spira/issues/115"},"comments":{"href":"https://api.github.com/repos/spira/spira/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/spira/spira/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/spira/spira/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spira/spira/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/spira/spira/statuses/ae80d319a83c230cad6034c5a59067a6036534e7"}}}}