{"action":"opened","number":534,"pull_request":{"url":"https://api.github.com/repos/OpenCollective/opencollective-api/pulls/534","id":81289406,"html_url":"https://github.com/OpenCollective/opencollective-api/pull/534","diff_url":"https://github.com/OpenCollective/opencollective-api/pull/534.diff","patch_url":"https://github.com/OpenCollective/opencollective-api/pull/534.patch","issue_url":"https://api.github.com/repos/OpenCollective/opencollective-api/issues/534","number":534,"state":"open","locked":false,"title":"Add more configuration for twitter oauth1 + don't store sessions in memory","user":{"login":"sedubois","id":4217871,"avatar_url":"https://avatars.githubusercontent.com/u/4217871?v=3","gravatar_id":"","url":"https://api.github.com/users/sedubois","html_url":"https://github.com/sedubois","followers_url":"https://api.github.com/users/sedubois/followers","following_url":"https://api.github.com/users/sedubois/following{/other_user}","gists_url":"https://api.github.com/users/sedubois/gists{/gist_id}","starred_url":"https://api.github.com/users/sedubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedubois/subscriptions","organizations_url":"https://api.github.com/users/sedubois/orgs","repos_url":"https://api.github.com/users/sedubois/repos","events_url":"https://api.github.com/users/sedubois/events{/privacy}","received_events_url":"https://api.github.com/users/sedubois/received_events","type":"User","site_admin":false},"body":"Implemented this after more doc reading:\r\n- https://github.com/passport/express-4.x-twitter-example/blob/master/server.js\r\n- https://www.npmjs.com/package/express-session\r\n- https://www.npmjs.com/package/connect-session-sequelize\r\n\r\nAs usual, works locally but need to test in staging.","created_at":"2016-08-15T09:32:05Z","updated_at":"2016-08-15T09:32:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenCollective/opencollective-api/pulls/534/commits","review_comments_url":"https://api.github.com/repos/OpenCollective/opencollective-api/pulls/534/comments","review_comment_url":"https://api.github.com/repos/OpenCollective/opencollective-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenCollective/opencollective-api/issues/534/comments","statuses_url":"https://api.github.com/repos/OpenCollective/opencollective-api/statuses/e565b4e2f16ca2a1e76c2c185479cdecdc96811e","head":{"label":"OpenCollective:oauth1-tweaks","ref":"oauth1-tweaks","sha":"e565b4e2f16ca2a1e76c2c185479cdecdc96811e","user":{"login":"OpenCollective","id":13403593,"avatar_url":"https://avatars.githubusercontent.com/u/13403593?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenCollective","html_url":"https://github.com/OpenCollective","followers_url":"https://api.github.com/users/OpenCollective/followers","following_url":"https://api.github.com/users/OpenCollective/following{/other_user}","gists_url":"https://api.github.com/users/OpenCollective/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenCollective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenCollective/subscriptions","organizations_url":"https://api.github.com/users/OpenCollective/orgs","repos_url":"https://api.github.com/users/OpenCollective/repos","events_url":"https://api.github.com/users/OpenCollective/events{/privacy}","received_events_url":"https://api.github.com/users/OpenCollective/received_events","type":"Organization","site_admin":false},"repo":{"id":35861629,"name":"opencollective-api","full_name":"OpenCollective/opencollective-api","owner":{"login":"OpenCollective","id":13403593,"avatar_url":"https://avatars.githubusercontent.com/u/13403593?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenCollective","html_url":"https://github.com/OpenCollective","followers_url":"https://api.github.com/users/OpenCollective/followers","following_url":"https://api.github.com/users/OpenCollective/following{/other_user}","gists_url":"https://api.github.com/users/OpenCollective/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenCollective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenCollective/subscriptions","organizations_url":"https://api.github.com/users/OpenCollective/orgs","repos_url":"https://api.github.com/users/OpenCollective/repos","events_url":"https://api.github.com/users/OpenCollective/events{/privacy}","received_events_url":"https://api.github.com/users/OpenCollective/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenCollective/opencollective-api","description":"OpenCollective's API","fork":false,"url":"https://api.github.com/repos/OpenCollective/opencollective-api","forks_url":"https://api.github.com/repos/OpenCollective/opencollective-api/forks","keys_url":"https://api.github.com/repos/OpenCollective/opencollective-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenCollective/opencollective-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenCollective/opencollective-api/teams","hooks_url":"https://api.github.com/repos/OpenCollective/opencollective-api/hooks","issue_events_url":"https://api.github.com/repos/OpenCollective/opencollective-api/issues/events{/number}","events_url":"https://api.github.com/repos/OpenCollective/opencollective-api/events","assignees_url":"https://api.github.com/repos/OpenCollective/opencollective-api/assignees{/user}","branches_url":"https://api.github.com/repos/OpenCollective/opencollective-api/branches{/branch}","tags_url":"https://api.github.com/repos/OpenCollective/opencollective-api/tags","blobs_url":"https://api.github.com/repos/OpenCollective/opencollective-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenCollective/opencollective-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenCollective/opencollective-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenCollective/opencollective-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenCollective/opencollective-api/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenCollective/opencollective-api/languages","stargazers_url":"https://api.github.com/repos/OpenCollective/opencollective-api/stargazers","contributors_url":"https://api.github.com/repos/OpenCollective/opencollective-api/contributors","subscribers_url":"https://api.github.com/repos/OpenCollective/opencollective-api/subscribers","subscription_url":"https://api.github.com/repos/OpenCollective/opencollective-api/subscription","commits_url":"https://api.github.com/repos/OpenCollective/opencollective-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenCollective/opencollective-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenCollective/opencollective-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenCollective/opencollective-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenCollective/opencollective-api/contents/{+path}","compare_url":"https://api.github.com/repos/OpenCollective/opencollective-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenCollective/opencollective-api/merges","archive_url":"https://api.github.com/repos/OpenCollective/opencollective-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenCollective/opencollective-api/downloads","issues_url":"https://api.github.com/repos/OpenCollective/opencollective-api/issues{/number}","pulls_url":"https://api.github.com/repos/OpenCollective/opencollective-api/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenCollective/opencollective-api/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenCollective/opencollective-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenCollective/opencollective-api/labels{/name}","releases_url":"https://api.github.com/repos/OpenCollective/opencollective-api/releases{/id}","deployments_url":"https://api.github.com/repos/OpenCollective/opencollective-api/deployments","created_at":"2015-05-19T05:40:22Z","updated_at":"2016-07-22T08:27:51Z","pushed_at":"2016-08-15T09:30:42Z","git_url":"git://github.com/OpenCollective/opencollective-api.git","ssh_url":"git@github.com:OpenCollective/opencollective-api.git","clone_url":"https://github.com/OpenCollective/opencollective-api.git","svn_url":"https://github.com/OpenCollective/opencollective-api","homepage":"","size":3877,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":17,"forks":6,"open_issues":17,"watchers":7,"default_branch":"master"}},"base":{"label":"OpenCollective:master","ref":"master","sha":"34b7c0f900c7402e6d934c75b5ababa91b8030a8","user":{"login":"OpenCollective","id":13403593,"avatar_url":"https://avatars.githubusercontent.com/u/13403593?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenCollective","html_url":"https://github.com/OpenCollective","followers_url":"https://api.github.com/users/OpenCollective/followers","following_url":"https://api.github.com/users/OpenCollective/following{/other_user}","gists_url":"https://api.github.com/users/OpenCollective/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenCollective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenCollective/subscriptions","organizations_url":"https://api.github.com/users/OpenCollective/orgs","repos_url":"https://api.github.com/users/OpenCollective/repos","events_url":"https://api.github.com/users/OpenCollective/events{/privacy}","received_events_url":"https://api.github.com/users/OpenCollective/received_events","type":"Organization","site_admin":false},"repo":{"id":35861629,"name":"opencollective-api","full_name":"OpenCollective/opencollective-api","owner":{"login":"OpenCollective","id":13403593,"avatar_url":"https://avatars.githubusercontent.com/u/13403593?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenCollective","html_url":"https://github.com/OpenCollective","followers_url":"https://api.github.com/users/OpenCollective/followers","following_url":"https://api.github.com/users/OpenCollective/following{/other_user}","gists_url":"https://api.github.com/users/OpenCollective/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenCollective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenCollective/subscriptions","organizations_url":"https://api.github.com/users/OpenCollective/orgs","repos_url":"https://api.github.com/users/OpenCollective/repos","events_url":"https://api.github.com/users/OpenCollective/events{/privacy}","received_events_url":"https://api.github.com/users/OpenCollective/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenCollective/opencollective-api","description":"OpenCollective's API","fork":false,"url":"https://api.github.com/repos/OpenCollective/opencollective-api","forks_url":"https://api.github.com/repos/OpenCollective/opencollective-api/forks","keys_url":"https://api.github.com/repos/OpenCollective/opencollective-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenCollective/opencollective-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenCollective/opencollective-api/teams","hooks_url":"https://api.github.com/repos/OpenCollective/opencollective-api/hooks","issue_events_url":"https://api.github.com/repos/OpenCollective/opencollective-api/issues/events{/number}","events_url":"https://api.github.com/repos/OpenCollective/opencollective-api/events","assignees_url":"https://api.github.com/repos/OpenCollective/opencollective-api/assignees{/user}","branches_url":"https://api.github.com/repos/OpenCollective/opencollective-api/branches{/branch}","tags_url":"https://api.github.com/repos/OpenCollective/opencollective-api/tags","blobs_url":"https://api.github.com/repos/OpenCollective/opencollective-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenCollective/opencollective-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenCollective/opencollective-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenCollective/opencollective-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenCollective/opencollective-api/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenCollective/opencollective-api/languages","stargazers_url":"https://api.github.com/repos/OpenCollective/opencollective-api/stargazers","contributors_url":"https://api.github.com/repos/OpenCollective/opencollective-api/contributors","subscribers_url":"https://api.github.com/repos/OpenCollective/opencollective-api/subscribers","subscription_url":"https://api.github.com/repos/OpenCollective/opencollective-api/subscription","commits_url":"https://api.github.com/repos/OpenCollective/opencollective-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenCollective/opencollective-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenCollective/opencollective-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenCollective/opencollective-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenCollective/opencollective-api/contents/{+path}","compare_url":"https://api.github.com/repos/OpenCollective/opencollective-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenCollective/opencollective-api/merges","archive_url":"https://api.github.com/repos/OpenCollective/opencollective-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenCollective/opencollective-api/downloads","issues_url":"https://api.github.com/repos/OpenCollective/opencollective-api/issues{/number}","pulls_url":"https://api.github.com/repos/OpenCollective/opencollective-api/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenCollective/opencollective-api/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenCollective/opencollective-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenCollective/opencollective-api/labels{/name}","releases_url":"https://api.github.com/repos/OpenCollective/opencollective-api/releases{/id}","deployments_url":"https://api.github.com/repos/OpenCollective/opencollective-api/deployments","created_at":"2015-05-19T05:40:22Z","updated_at":"2016-07-22T08:27:51Z","pushed_at":"2016-08-15T09:30:42Z","git_url":"git://github.com/OpenCollective/opencollective-api.git","ssh_url":"git@github.com:OpenCollective/opencollective-api.git","clone_url":"https://github.com/OpenCollective/opencollective-api.git","svn_url":"https://github.com/OpenCollective/opencollective-api","homepage":"","size":3877,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":17,"forks":6,"open_issues":17,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenCollective/opencollective-api/pulls/534"},"html":{"href":"https://github.com/OpenCollective/opencollective-api/pull/534"},"issue":{"href":"https://api.github.com/repos/OpenCollective/opencollective-api/issues/534"},"comments":{"href":"https://api.github.com/repos/OpenCollective/opencollective-api/issues/534/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenCollective/opencollective-api/pulls/534/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenCollective/opencollective-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenCollective/opencollective-api/pulls/534/commits"},"statuses":{"href":"https://api.github.com/repos/OpenCollective/opencollective-api/statuses/e565b4e2f16ca2a1e76c2c185479cdecdc96811e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":61,"deletions":4,"changed_files":4}}
{"actor":{"display_login":"sedubois"}}