{"action":"opened","number":200,"pull_request":{"url":"https://api.github.com/repos/Rallie-Team/rallie/pulls/200","id":37292071,"html_url":"https://github.com/Rallie-Team/rallie/pull/200","diff_url":"https://github.com/Rallie-Team/rallie/pull/200.diff","patch_url":"https://github.com/Rallie-Team/rallie/pull/200.patch","issue_url":"https://api.github.com/repos/Rallie-Team/rallie/issues/200","number":200,"state":"open","locked":false,"title":"Fix Facebook auth in dev, test, and prod + code cleanup","user":{"login":"kevhuang","id":3806348,"avatar_url":"https://avatars.githubusercontent.com/u/3806348?v=3","gravatar_id":"","url":"https://api.github.com/users/kevhuang","html_url":"https://github.com/kevhuang","followers_url":"https://api.github.com/users/kevhuang/followers","following_url":"https://api.github.com/users/kevhuang/following{/other_user}","gists_url":"https://api.github.com/users/kevhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/kevhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevhuang/subscriptions","organizations_url":"https://api.github.com/users/kevhuang/orgs","repos_url":"https://api.github.com/users/kevhuang/repos","events_url":"https://api.github.com/users/kevhuang/events{/privacy}","received_events_url":"https://api.github.com/users/kevhuang/received_events","type":"User","site_admin":false},"body":"This should allow Facebook auth to work in all environments.\r\n\r\n**IMPORTANT NOTES**\r\nMake sure you do the following before testing (and also after this is merged)!\r\n\r\n- Set up your local `thirdPartyServices.js` file based on the settings in Slack\r\n- The Users table now tracks the full name of the user as the `username` so if you want to see your full name in the app, you will need to do one of the following:\r\n  - Manually update your user in the Users table\r\n  - Drop your Users table\r\n  - Drop and recreate the entire database\r\n- Make sure you log out of any existing session before testing","created_at":"2015-06-09T19:51:42Z","updated_at":"2015-06-09T19:51:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Rallie-Team/rallie/pulls/200/commits","review_comments_url":"https://api.github.com/repos/Rallie-Team/rallie/pulls/200/comments","review_comment_url":"https://api.github.com/repos/Rallie-Team/rallie/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rallie-Team/rallie/issues/200/comments","statuses_url":"https://api.github.com/repos/Rallie-Team/rallie/statuses/e8f53a6d7790aecade63a751af42ff9e0702296f","head":{"label":"kevhuang:refactor/facebook-auth","ref":"refactor/facebook-auth","sha":"e8f53a6d7790aecade63a751af42ff9e0702296f","user":{"login":"kevhuang","id":3806348,"avatar_url":"https://avatars.githubusercontent.com/u/3806348?v=3","gravatar_id":"","url":"https://api.github.com/users/kevhuang","html_url":"https://github.com/kevhuang","followers_url":"https://api.github.com/users/kevhuang/followers","following_url":"https://api.github.com/users/kevhuang/following{/other_user}","gists_url":"https://api.github.com/users/kevhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/kevhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevhuang/subscriptions","organizations_url":"https://api.github.com/users/kevhuang/orgs","repos_url":"https://api.github.com/users/kevhuang/repos","events_url":"https://api.github.com/users/kevhuang/events{/privacy}","received_events_url":"https://api.github.com/users/kevhuang/received_events","type":"User","site_admin":false},"repo":{"id":35966997,"name":"rallie","full_name":"kevhuang/rallie","owner":{"login":"kevhuang","id":3806348,"avatar_url":"https://avatars.githubusercontent.com/u/3806348?v=3","gravatar_id":"","url":"https://api.github.com/users/kevhuang","html_url":"https://github.com/kevhuang","followers_url":"https://api.github.com/users/kevhuang/followers","following_url":"https://api.github.com/users/kevhuang/following{/other_user}","gists_url":"https://api.github.com/users/kevhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/kevhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevhuang/subscriptions","organizations_url":"https://api.github.com/users/kevhuang/orgs","repos_url":"https://api.github.com/users/kevhuang/repos","events_url":"https://api.github.com/users/kevhuang/events{/privacy}","received_events_url":"https://api.github.com/users/kevhuang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevhuang/rallie","description":"","fork":true,"url":"https://api.github.com/repos/kevhuang/rallie","forks_url":"https://api.github.com/repos/kevhuang/rallie/forks","keys_url":"https://api.github.com/repos/kevhuang/rallie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevhuang/rallie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevhuang/rallie/teams","hooks_url":"https://api.github.com/repos/kevhuang/rallie/hooks","issue_events_url":"https://api.github.com/repos/kevhuang/rallie/issues/events{/number}","events_url":"https://api.github.com/repos/kevhuang/rallie/events","assignees_url":"https://api.github.com/repos/kevhuang/rallie/assignees{/user}","branches_url":"https://api.github.com/repos/kevhuang/rallie/branches{/branch}","tags_url":"https://api.github.com/repos/kevhuang/rallie/tags","blobs_url":"https://api.github.com/repos/kevhuang/rallie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevhuang/rallie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevhuang/rallie/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevhuang/rallie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevhuang/rallie/statuses/{sha}","languages_url":"https://api.github.com/repos/kevhuang/rallie/languages","stargazers_url":"https://api.github.com/repos/kevhuang/rallie/stargazers","contributors_url":"https://api.github.com/repos/kevhuang/rallie/contributors","subscribers_url":"https://api.github.com/repos/kevhuang/rallie/subscribers","subscription_url":"https://api.github.com/repos/kevhuang/rallie/subscription","commits_url":"https://api.github.com/repos/kevhuang/rallie/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevhuang/rallie/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevhuang/rallie/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevhuang/rallie/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevhuang/rallie/contents/{+path}","compare_url":"https://api.github.com/repos/kevhuang/rallie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevhuang/rallie/merges","archive_url":"https://api.github.com/repos/kevhuang/rallie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevhuang/rallie/downloads","issues_url":"https://api.github.com/repos/kevhuang/rallie/issues{/number}","pulls_url":"https://api.github.com/repos/kevhuang/rallie/pulls{/number}","milestones_url":"https://api.github.com/repos/kevhuang/rallie/milestones{/number}","notifications_url":"https://api.github.com/repos/kevhuang/rallie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevhuang/rallie/labels{/name}","releases_url":"https://api.github.com/repos/kevhuang/rallie/releases{/id}","created_at":"2015-05-20T18:39:59Z","updated_at":"2015-06-05T18:09:19Z","pushed_at":"2015-06-09T19:45:08Z","git_url":"git://github.com/kevhuang/rallie.git","ssh_url":"git@github.com:kevhuang/rallie.git","clone_url":"https://github.com/kevhuang/rallie.git","svn_url":"https://github.com/kevhuang/rallie","homepage":null,"size":1506,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Rallie-Team:master","ref":"master","sha":"901b49fc2b5909e11fefb619f98382526ae326e6","user":{"login":"Rallie-Team","id":12519341,"avatar_url":"https://avatars.githubusercontent.com/u/12519341?v=3","gravatar_id":"","url":"https://api.github.com/users/Rallie-Team","html_url":"https://github.com/Rallie-Team","followers_url":"https://api.github.com/users/Rallie-Team/followers","following_url":"https://api.github.com/users/Rallie-Team/following{/other_user}","gists_url":"https://api.github.com/users/Rallie-Team/gists{/gist_id}","starred_url":"https://api.github.com/users/Rallie-Team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rallie-Team/subscriptions","organizations_url":"https://api.github.com/users/Rallie-Team/orgs","repos_url":"https://api.github.com/users/Rallie-Team/repos","events_url":"https://api.github.com/users/Rallie-Team/events{/privacy}","received_events_url":"https://api.github.com/users/Rallie-Team/received_events","type":"Organization","site_admin":false},"repo":{"id":35966102,"name":"rallie","full_name":"Rallie-Team/rallie","owner":{"login":"Rallie-Team","id":12519341,"avatar_url":"https://avatars.githubusercontent.com/u/12519341?v=3","gravatar_id":"","url":"https://api.github.com/users/Rallie-Team","html_url":"https://github.com/Rallie-Team","followers_url":"https://api.github.com/users/Rallie-Team/followers","following_url":"https://api.github.com/users/Rallie-Team/following{/other_user}","gists_url":"https://api.github.com/users/Rallie-Team/gists{/gist_id}","starred_url":"https://api.github.com/users/Rallie-Team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rallie-Team/subscriptions","organizations_url":"https://api.github.com/users/Rallie-Team/orgs","repos_url":"https://api.github.com/users/Rallie-Team/repos","events_url":"https://api.github.com/users/Rallie-Team/events{/privacy}","received_events_url":"https://api.github.com/users/Rallie-Team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rallie-Team/rallie","description":"","fork":false,"url":"https://api.github.com/repos/Rallie-Team/rallie","forks_url":"https://api.github.com/repos/Rallie-Team/rallie/forks","keys_url":"https://api.github.com/repos/Rallie-Team/rallie/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rallie-Team/rallie/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rallie-Team/rallie/teams","hooks_url":"https://api.github.com/repos/Rallie-Team/rallie/hooks","issue_events_url":"https://api.github.com/repos/Rallie-Team/rallie/issues/events{/number}","events_url":"https://api.github.com/repos/Rallie-Team/rallie/events","assignees_url":"https://api.github.com/repos/Rallie-Team/rallie/assignees{/user}","branches_url":"https://api.github.com/repos/Rallie-Team/rallie/branches{/branch}","tags_url":"https://api.github.com/repos/Rallie-Team/rallie/tags","blobs_url":"https://api.github.com/repos/Rallie-Team/rallie/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rallie-Team/rallie/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rallie-Team/rallie/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rallie-Team/rallie/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rallie-Team/rallie/statuses/{sha}","languages_url":"https://api.github.com/repos/Rallie-Team/rallie/languages","stargazers_url":"https://api.github.com/repos/Rallie-Team/rallie/stargazers","contributors_url":"https://api.github.com/repos/Rallie-Team/rallie/contributors","subscribers_url":"https://api.github.com/repos/Rallie-Team/rallie/subscribers","subscription_url":"https://api.github.com/repos/Rallie-Team/rallie/subscription","commits_url":"https://api.github.com/repos/Rallie-Team/rallie/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rallie-Team/rallie/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rallie-Team/rallie/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rallie-Team/rallie/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rallie-Team/rallie/contents/{+path}","compare_url":"https://api.github.com/repos/Rallie-Team/rallie/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rallie-Team/rallie/merges","archive_url":"https://api.github.com/repos/Rallie-Team/rallie/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rallie-Team/rallie/downloads","issues_url":"https://api.github.com/repos/Rallie-Team/rallie/issues{/number}","pulls_url":"https://api.github.com/repos/Rallie-Team/rallie/pulls{/number}","milestones_url":"https://api.github.com/repos/Rallie-Team/rallie/milestones{/number}","notifications_url":"https://api.github.com/repos/Rallie-Team/rallie/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rallie-Team/rallie/labels{/name}","releases_url":"https://api.github.com/repos/Rallie-Team/rallie/releases{/id}","created_at":"2015-05-20T18:24:05Z","updated_at":"2015-06-05T18:07:42Z","pushed_at":"2015-06-09T05:50:59Z","git_url":"git://github.com/Rallie-Team/rallie.git","ssh_url":"git@github.com:Rallie-Team/rallie.git","clone_url":"https://github.com/Rallie-Team/rallie.git","svn_url":"https://github.com/Rallie-Team/rallie","homepage":"https://joseki-app.herokuapp.com","size":4148,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":21,"forks":4,"open_issues":21,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Rallie-Team/rallie/pulls/200"},"html":{"href":"https://github.com/Rallie-Team/rallie/pull/200"},"issue":{"href":"https://api.github.com/repos/Rallie-Team/rallie/issues/200"},"comments":{"href":"https://api.github.com/repos/Rallie-Team/rallie/issues/200/comments"},"review_comments":{"href":"https://api.github.com/repos/Rallie-Team/rallie/pulls/200/comments"},"review_comment":{"href":"https://api.github.com/repos/Rallie-Team/rallie/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rallie-Team/rallie/pulls/200/commits"},"statuses":{"href":"https://api.github.com/repos/Rallie-Team/rallie/statuses/e8f53a6d7790aecade63a751af42ff9e0702296f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":44,"deletions":67,"changed_files":10}}