{"action":"created","comment":{"url":"https://api.github.com/repos/praw-dev/praw/pulls/comments/91311363","pull_request_review_id":11819336,"id":91311363,"diff_hunk":"@@ -0,0 +1,164 @@\n+{\n+  \"http_interactions\": [\n+    {\n+      \"recorded_at\": \"2016-12-06T14:54:15\",\n+      \"request\": {\n+        \"body\": {\n+          \"encoding\": \"utf-8\",\n+          \"string\": \"grant_type=client_credentials\"\n+        },\n+        \"headers\": {\n+          \"Accept\": \"*/*\",\n+          \"Accept-Encoding\": \"identity\",\n+          \"Authorization\": \"Basic <BASIC_AUTH>\",\n+          \"Connection\": \"keep-alive\",\n+          \"Content-Length\": \"29\",\n+          \"Content-Type\": \"application/x-www-form-urlencoded\",\n+          \"User-Agent\": \"<USER_AGENT> PRAW/4.0.0 prawcore/0.3.0\"\n+        },\n+        \"method\": \"POST\",\n+        \"uri\": \"https://www.reddit.com/api/v1/access_token\"\n+      },\n+      \"response\": {\n+        \"body\": {\n+          \"encoding\": \"UTF-8\",\n+          \"string\": \"{\\\"access_token\\\": \\\"tuIhJlqr1dLVDqCFbVqtWF7tynw\\\", \\\"token_type\\\": \\\"bearer\\\", \\\"expires_in\\\": 3600, \\\"scope\\\": \\\"*\\\"}\"","path":"tests/integration/cassettes/TestLiveThread_test_init.json","position":null,"original_position":25,"commit_id":"8ea35c50f5657cb7be8cfd140b8495a46d7c6553","original_commit_id":"d8f29d7bd764db305a2d3e2571351bdb6a45ce03","user":{"login":"bboe","id":48100,"avatar_url":"https://avatars.githubusercontent.com/u/48100?v=3","gravatar_id":"","url":"https://api.github.com/users/bboe","html_url":"https://github.com/bboe","followers_url":"https://api.github.com/users/bboe/followers","following_url":"https://api.github.com/users/bboe/following{/other_user}","gists_url":"https://api.github.com/users/bboe/gists{/gist_id}","starred_url":"https://api.github.com/users/bboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboe/subscriptions","organizations_url":"https://api.github.com/users/bboe/orgs","repos_url":"https://api.github.com/users/bboe/repos","events_url":"https://api.github.com/users/bboe/events{/privacy}","received_events_url":"https://api.github.com/users/bboe/received_events","type":"User","site_admin":false},"body":"Wow, despite writing the OAuth code twice, I mistakenly assumed that the authorization header was also sent in each request. Oops. Thanks for the correction.\r\n\r\nThere certainly is reason to try to hide the tokens in such cases. Thanks for the correction.","created_at":"2016-12-07T15:09:01Z","updated_at":"2016-12-07T15:09:01Z","html_url":"https://github.com/praw-dev/praw/pull/680#discussion_r91311363","pull_request_url":"https://api.github.com/repos/praw-dev/praw/pulls/680","_links":{"self":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/comments/91311363"},"html":{"href":"https://github.com/praw-dev/praw/pull/680#discussion_r91311363"},"pull_request":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/680"}}},"pull_request":{"url":"https://api.github.com/repos/praw-dev/praw/pulls/680","id":96387606,"html_url":"https://github.com/praw-dev/praw/pull/680","diff_url":"https://github.com/praw-dev/praw/pull/680.diff","patch_url":"https://github.com/praw-dev/praw/pull/680.patch","issue_url":"https://api.github.com/repos/praw-dev/praw/issues/680","number":680,"state":"open","locked":false,"title":"Add praw.models.LiveHelper.__call__","user":{"login":"nmtake","id":18096192,"avatar_url":"https://avatars.githubusercontent.com/u/18096192?v=3","gravatar_id":"","url":"https://api.github.com/users/nmtake","html_url":"https://github.com/nmtake","followers_url":"https://api.github.com/users/nmtake/followers","following_url":"https://api.github.com/users/nmtake/following{/other_user}","gists_url":"https://api.github.com/users/nmtake/gists{/gist_id}","starred_url":"https://api.github.com/users/nmtake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmtake/subscriptions","organizations_url":"https://api.github.com/users/nmtake/orgs","repos_url":"https://api.github.com/users/nmtake/repos","events_url":"https://api.github.com/users/nmtake/events{/privacy}","received_events_url":"https://api.github.com/users/nmtake/received_events","type":"User","site_admin":false},"body":"## Feature Summary and Justification\r\n\r\nThis feature provides explicit interface to initialize a `praw.models.LiveThread` instance, e.g.,\r\n\r\n```python\r\n>>> import praw\r\n>>> from  praw.models import LiveThread\r\n>>> reddit = praw.Reddit(...)\r\n>>> thread = LiveThread(reddit, 'ukaeu1ik4sw5')\r\n>>> thread.title\r\nu'reddit updates'\r\n```\r\n\r\n## References\r\n\r\n* nmtake/praw@e147a37\r\n\r\n## Concerns\r\n\r\nAccess tokens are visible in the cassettes. I think it would be better if we could filter out those tokens with `before_record` hook.  Any thoughts?","created_at":"2016-12-03T05:35:35Z","updated_at":"2016-12-07T15:09:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d8a9543670e0c82a7926c1b73e8a55d5ffede3c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/praw-dev/praw/pulls/680/commits","review_comments_url":"https://api.github.com/repos/praw-dev/praw/pulls/680/comments","review_comment_url":"https://api.github.com/repos/praw-dev/praw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/praw-dev/praw/issues/680/comments","statuses_url":"https://api.github.com/repos/praw-dev/praw/statuses/8ea35c50f5657cb7be8cfd140b8495a46d7c6553","head":{"label":"nmtake:livethread-init","ref":"livethread-init","sha":"8ea35c50f5657cb7be8cfd140b8495a46d7c6553","user":{"login":"nmtake","id":18096192,"avatar_url":"https://avatars.githubusercontent.com/u/18096192?v=3","gravatar_id":"","url":"https://api.github.com/users/nmtake","html_url":"https://github.com/nmtake","followers_url":"https://api.github.com/users/nmtake/followers","following_url":"https://api.github.com/users/nmtake/following{/other_user}","gists_url":"https://api.github.com/users/nmtake/gists{/gist_id}","starred_url":"https://api.github.com/users/nmtake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmtake/subscriptions","organizations_url":"https://api.github.com/users/nmtake/orgs","repos_url":"https://api.github.com/users/nmtake/repos","events_url":"https://api.github.com/users/nmtake/events{/privacy}","received_events_url":"https://api.github.com/users/nmtake/received_events","type":"User","site_admin":false},"repo":{"id":54828765,"name":"praw","full_name":"nmtake/praw","owner":{"login":"nmtake","id":18096192,"avatar_url":"https://avatars.githubusercontent.com/u/18096192?v=3","gravatar_id":"","url":"https://api.github.com/users/nmtake","html_url":"https://github.com/nmtake","followers_url":"https://api.github.com/users/nmtake/followers","following_url":"https://api.github.com/users/nmtake/following{/other_user}","gists_url":"https://api.github.com/users/nmtake/gists{/gist_id}","starred_url":"https://api.github.com/users/nmtake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmtake/subscriptions","organizations_url":"https://api.github.com/users/nmtake/orgs","repos_url":"https://api.github.com/users/nmtake/repos","events_url":"https://api.github.com/users/nmtake/events{/privacy}","received_events_url":"https://api.github.com/users/nmtake/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nmtake/praw","description":"PRAW, an acronym for \"Python Reddit API Wrapper\", is a python package that allows for simple access to reddit's API.","fork":true,"url":"https://api.github.com/repos/nmtake/praw","forks_url":"https://api.github.com/repos/nmtake/praw/forks","keys_url":"https://api.github.com/repos/nmtake/praw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nmtake/praw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nmtake/praw/teams","hooks_url":"https://api.github.com/repos/nmtake/praw/hooks","issue_events_url":"https://api.github.com/repos/nmtake/praw/issues/events{/number}","events_url":"https://api.github.com/repos/nmtake/praw/events","assignees_url":"https://api.github.com/repos/nmtake/praw/assignees{/user}","branches_url":"https://api.github.com/repos/nmtake/praw/branches{/branch}","tags_url":"https://api.github.com/repos/nmtake/praw/tags","blobs_url":"https://api.github.com/repos/nmtake/praw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nmtake/praw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nmtake/praw/git/refs{/sha}","trees_url":"https://api.github.com/repos/nmtake/praw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nmtake/praw/statuses/{sha}","languages_url":"https://api.github.com/repos/nmtake/praw/languages","stargazers_url":"https://api.github.com/repos/nmtake/praw/stargazers","contributors_url":"https://api.github.com/repos/nmtake/praw/contributors","subscribers_url":"https://api.github.com/repos/nmtake/praw/subscribers","subscription_url":"https://api.github.com/repos/nmtake/praw/subscription","commits_url":"https://api.github.com/repos/nmtake/praw/commits{/sha}","git_commits_url":"https://api.github.com/repos/nmtake/praw/git/commits{/sha}","comments_url":"https://api.github.com/repos/nmtake/praw/comments{/number}","issue_comment_url":"https://api.github.com/repos/nmtake/praw/issues/comments{/number}","contents_url":"https://api.github.com/repos/nmtake/praw/contents/{+path}","compare_url":"https://api.github.com/repos/nmtake/praw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nmtake/praw/merges","archive_url":"https://api.github.com/repos/nmtake/praw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nmtake/praw/downloads","issues_url":"https://api.github.com/repos/nmtake/praw/issues{/number}","pulls_url":"https://api.github.com/repos/nmtake/praw/pulls{/number}","milestones_url":"https://api.github.com/repos/nmtake/praw/milestones{/number}","notifications_url":"https://api.github.com/repos/nmtake/praw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nmtake/praw/labels{/name}","releases_url":"https://api.github.com/repos/nmtake/praw/releases{/id}","deployments_url":"https://api.github.com/repos/nmtake/praw/deployments","created_at":"2016-03-27T13:03:48Z","updated_at":"2016-03-27T13:03:50Z","pushed_at":"2016-12-07T13:26:12Z","git_url":"git://github.com/nmtake/praw.git","ssh_url":"git@github.com:nmtake/praw.git","clone_url":"https://github.com/nmtake/praw.git","svn_url":"https://github.com/nmtake/praw","homepage":"https://praw.readthedocs.org/","size":25056,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"praw-dev:master","ref":"master","sha":"3e1bb8a26d6c5251dc5b7976591e05bc9c690d67","user":{"login":"praw-dev","id":1696888,"avatar_url":"https://avatars.githubusercontent.com/u/1696888?v=3","gravatar_id":"","url":"https://api.github.com/users/praw-dev","html_url":"https://github.com/praw-dev","followers_url":"https://api.github.com/users/praw-dev/followers","following_url":"https://api.github.com/users/praw-dev/following{/other_user}","gists_url":"https://api.github.com/users/praw-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/praw-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praw-dev/subscriptions","organizations_url":"https://api.github.com/users/praw-dev/orgs","repos_url":"https://api.github.com/users/praw-dev/repos","events_url":"https://api.github.com/users/praw-dev/events{/privacy}","received_events_url":"https://api.github.com/users/praw-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":847957,"name":"praw","full_name":"praw-dev/praw","owner":{"login":"praw-dev","id":1696888,"avatar_url":"https://avatars.githubusercontent.com/u/1696888?v=3","gravatar_id":"","url":"https://api.github.com/users/praw-dev","html_url":"https://github.com/praw-dev","followers_url":"https://api.github.com/users/praw-dev/followers","following_url":"https://api.github.com/users/praw-dev/following{/other_user}","gists_url":"https://api.github.com/users/praw-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/praw-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praw-dev/subscriptions","organizations_url":"https://api.github.com/users/praw-dev/orgs","repos_url":"https://api.github.com/users/praw-dev/repos","events_url":"https://api.github.com/users/praw-dev/events{/privacy}","received_events_url":"https://api.github.com/users/praw-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praw-dev/praw","description":"PRAW, an acronym for \"Python Reddit API Wrapper\", is a python package that allows for simple access to reddit's API.","fork":false,"url":"https://api.github.com/repos/praw-dev/praw","forks_url":"https://api.github.com/repos/praw-dev/praw/forks","keys_url":"https://api.github.com/repos/praw-dev/praw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praw-dev/praw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praw-dev/praw/teams","hooks_url":"https://api.github.com/repos/praw-dev/praw/hooks","issue_events_url":"https://api.github.com/repos/praw-dev/praw/issues/events{/number}","events_url":"https://api.github.com/repos/praw-dev/praw/events","assignees_url":"https://api.github.com/repos/praw-dev/praw/assignees{/user}","branches_url":"https://api.github.com/repos/praw-dev/praw/branches{/branch}","tags_url":"https://api.github.com/repos/praw-dev/praw/tags","blobs_url":"https://api.github.com/repos/praw-dev/praw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praw-dev/praw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praw-dev/praw/git/refs{/sha}","trees_url":"https://api.github.com/repos/praw-dev/praw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praw-dev/praw/statuses/{sha}","languages_url":"https://api.github.com/repos/praw-dev/praw/languages","stargazers_url":"https://api.github.com/repos/praw-dev/praw/stargazers","contributors_url":"https://api.github.com/repos/praw-dev/praw/contributors","subscribers_url":"https://api.github.com/repos/praw-dev/praw/subscribers","subscription_url":"https://api.github.com/repos/praw-dev/praw/subscription","commits_url":"https://api.github.com/repos/praw-dev/praw/commits{/sha}","git_commits_url":"https://api.github.com/repos/praw-dev/praw/git/commits{/sha}","comments_url":"https://api.github.com/repos/praw-dev/praw/comments{/number}","issue_comment_url":"https://api.github.com/repos/praw-dev/praw/issues/comments{/number}","contents_url":"https://api.github.com/repos/praw-dev/praw/contents/{+path}","compare_url":"https://api.github.com/repos/praw-dev/praw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praw-dev/praw/merges","archive_url":"https://api.github.com/repos/praw-dev/praw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praw-dev/praw/downloads","issues_url":"https://api.github.com/repos/praw-dev/praw/issues{/number}","pulls_url":"https://api.github.com/repos/praw-dev/praw/pulls{/number}","milestones_url":"https://api.github.com/repos/praw-dev/praw/milestones{/number}","notifications_url":"https://api.github.com/repos/praw-dev/praw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praw-dev/praw/labels{/name}","releases_url":"https://api.github.com/repos/praw-dev/praw/releases{/id}","deployments_url":"https://api.github.com/repos/praw-dev/praw/deployments","created_at":"2010-08-19T04:00:07Z","updated_at":"2016-12-04T01:23:53Z","pushed_at":"2016-12-07T13:26:13Z","git_url":"git://github.com/praw-dev/praw.git","ssh_url":"git@github.com:praw-dev/praw.git","clone_url":"https://github.com/praw-dev/praw.git","svn_url":"https://github.com/praw-dev/praw","homepage":"http://praw.readthedocs.io/","size":26844,"stargazers_count":1100,"watchers_count":1100,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":228,"mirror_url":null,"open_issues_count":9,"forks":228,"open_issues":9,"watchers":1100,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/680"},"html":{"href":"https://github.com/praw-dev/praw/pull/680"},"issue":{"href":"https://api.github.com/repos/praw-dev/praw/issues/680"},"comments":{"href":"https://api.github.com/repos/praw-dev/praw/issues/680/comments"},"review_comments":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/680/comments"},"review_comment":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/680/commits"},"statuses":{"href":"https://api.github.com/repos/praw-dev/praw/statuses/8ea35c50f5657cb7be8cfd140b8495a46d7c6553"}}}}
{"actor":{"display_login":"bboe"}}