{"action":"opened","number":125,"pull_request":{"url":"https://api.github.com/repos/peterhudec/authomatic/pulls/125","id":48200041,"html_url":"https://github.com/peterhudec/authomatic/pull/125","diff_url":"https://github.com/peterhudec/authomatic/pull/125.diff","patch_url":"https://github.com/peterhudec/authomatic/pull/125.patch","issue_url":"https://api.github.com/repos/peterhudec/authomatic/issues/125","number":125,"state":"open","locked":false,"title":"Facebook: do not except if error_reason and error are None","user":{"login":"muravjov","id":1876978,"avatar_url":"https://avatars.githubusercontent.com/u/1876978?v=3","gravatar_id":"","url":"https://api.github.com/users/muravjov","html_url":"https://github.com/muravjov","followers_url":"https://api.github.com/users/muravjov/followers","following_url":"https://api.github.com/users/muravjov/following{/other_user}","gists_url":"https://api.github.com/users/muravjov/gists{/gist_id}","starred_url":"https://api.github.com/users/muravjov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muravjov/subscriptions","organizations_url":"https://api.github.com/users/muravjov/orgs","repos_url":"https://api.github.com/users/muravjov/repos","events_url":"https://api.github.com/users/muravjov/events{/privacy}","received_events_url":"https://api.github.com/users/muravjov/received_events","type":"User","site_admin":false},"body":"Hello. \r\nFacebook may redirect with error, which cause exception\r\n\r\nTypeError(\"argument of type 'NoneType' is not iterable\",)\r\n\r\nbecause error_reason is still None. This patch fixes this exception.\r\n\r\nYou may reproduce the error if Facebook answers the following:\r\n\r\n\"Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings.  It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.\"\r\n","created_at":"2015-10-20T13:26:15Z","updated_at":"2015-10-20T13:26:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/peterhudec/authomatic/pulls/125/commits","review_comments_url":"https://api.github.com/repos/peterhudec/authomatic/pulls/125/comments","review_comment_url":"https://api.github.com/repos/peterhudec/authomatic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/peterhudec/authomatic/issues/125/comments","statuses_url":"https://api.github.com/repos/peterhudec/authomatic/statuses/b98e0ae36d13c35838ff0fd71825f7526a1f244d","head":{"label":"muravjov:error_exception","ref":"error_exception","sha":"b98e0ae36d13c35838ff0fd71825f7526a1f244d","user":{"login":"muravjov","id":1876978,"avatar_url":"https://avatars.githubusercontent.com/u/1876978?v=3","gravatar_id":"","url":"https://api.github.com/users/muravjov","html_url":"https://github.com/muravjov","followers_url":"https://api.github.com/users/muravjov/followers","following_url":"https://api.github.com/users/muravjov/following{/other_user}","gists_url":"https://api.github.com/users/muravjov/gists{/gist_id}","starred_url":"https://api.github.com/users/muravjov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muravjov/subscriptions","organizations_url":"https://api.github.com/users/muravjov/orgs","repos_url":"https://api.github.com/users/muravjov/repos","events_url":"https://api.github.com/users/muravjov/events{/privacy}","received_events_url":"https://api.github.com/users/muravjov/received_events","type":"User","site_admin":false},"repo":{"id":44445564,"name":"authomatic","full_name":"muravjov/authomatic","owner":{"login":"muravjov","id":1876978,"avatar_url":"https://avatars.githubusercontent.com/u/1876978?v=3","gravatar_id":"","url":"https://api.github.com/users/muravjov","html_url":"https://github.com/muravjov","followers_url":"https://api.github.com/users/muravjov/followers","following_url":"https://api.github.com/users/muravjov/following{/other_user}","gists_url":"https://api.github.com/users/muravjov/gists{/gist_id}","starred_url":"https://api.github.com/users/muravjov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muravjov/subscriptions","organizations_url":"https://api.github.com/users/muravjov/orgs","repos_url":"https://api.github.com/users/muravjov/repos","events_url":"https://api.github.com/users/muravjov/events{/privacy}","received_events_url":"https://api.github.com/users/muravjov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/muravjov/authomatic","description":"Simple yet powerful authorization / authentication client library for Python web applications.","fork":true,"url":"https://api.github.com/repos/muravjov/authomatic","forks_url":"https://api.github.com/repos/muravjov/authomatic/forks","keys_url":"https://api.github.com/repos/muravjov/authomatic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muravjov/authomatic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muravjov/authomatic/teams","hooks_url":"https://api.github.com/repos/muravjov/authomatic/hooks","issue_events_url":"https://api.github.com/repos/muravjov/authomatic/issues/events{/number}","events_url":"https://api.github.com/repos/muravjov/authomatic/events","assignees_url":"https://api.github.com/repos/muravjov/authomatic/assignees{/user}","branches_url":"https://api.github.com/repos/muravjov/authomatic/branches{/branch}","tags_url":"https://api.github.com/repos/muravjov/authomatic/tags","blobs_url":"https://api.github.com/repos/muravjov/authomatic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muravjov/authomatic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muravjov/authomatic/git/refs{/sha}","trees_url":"https://api.github.com/repos/muravjov/authomatic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muravjov/authomatic/statuses/{sha}","languages_url":"https://api.github.com/repos/muravjov/authomatic/languages","stargazers_url":"https://api.github.com/repos/muravjov/authomatic/stargazers","contributors_url":"https://api.github.com/repos/muravjov/authomatic/contributors","subscribers_url":"https://api.github.com/repos/muravjov/authomatic/subscribers","subscription_url":"https://api.github.com/repos/muravjov/authomatic/subscription","commits_url":"https://api.github.com/repos/muravjov/authomatic/commits{/sha}","git_commits_url":"https://api.github.com/repos/muravjov/authomatic/git/commits{/sha}","comments_url":"https://api.github.com/repos/muravjov/authomatic/comments{/number}","issue_comment_url":"https://api.github.com/repos/muravjov/authomatic/issues/comments{/number}","contents_url":"https://api.github.com/repos/muravjov/authomatic/contents/{+path}","compare_url":"https://api.github.com/repos/muravjov/authomatic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muravjov/authomatic/merges","archive_url":"https://api.github.com/repos/muravjov/authomatic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muravjov/authomatic/downloads","issues_url":"https://api.github.com/repos/muravjov/authomatic/issues{/number}","pulls_url":"https://api.github.com/repos/muravjov/authomatic/pulls{/number}","milestones_url":"https://api.github.com/repos/muravjov/authomatic/milestones{/number}","notifications_url":"https://api.github.com/repos/muravjov/authomatic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muravjov/authomatic/labels{/name}","releases_url":"https://api.github.com/repos/muravjov/authomatic/releases{/id}","created_at":"2015-10-17T16:40:01Z","updated_at":"2015-10-17T16:40:02Z","pushed_at":"2015-10-20T13:17:29Z","git_url":"git://github.com/muravjov/authomatic.git","ssh_url":"git@github.com:muravjov/authomatic.git","clone_url":"https://github.com/muravjov/authomatic.git","svn_url":"https://github.com/muravjov/authomatic","homepage":"http://peterhudec.github.io/authomatic","size":7268,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"peterhudec:master","ref":"master","sha":"94abc06bbb163c1aac8b69ea65305918f1c937dd","user":{"login":"peterhudec","id":2333157,"avatar_url":"https://avatars.githubusercontent.com/u/2333157?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhudec","html_url":"https://github.com/peterhudec","followers_url":"https://api.github.com/users/peterhudec/followers","following_url":"https://api.github.com/users/peterhudec/following{/other_user}","gists_url":"https://api.github.com/users/peterhudec/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhudec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhudec/subscriptions","organizations_url":"https://api.github.com/users/peterhudec/orgs","repos_url":"https://api.github.com/users/peterhudec/repos","events_url":"https://api.github.com/users/peterhudec/events{/privacy}","received_events_url":"https://api.github.com/users/peterhudec/received_events","type":"User","site_admin":false},"repo":{"id":8073983,"name":"authomatic","full_name":"peterhudec/authomatic","owner":{"login":"peterhudec","id":2333157,"avatar_url":"https://avatars.githubusercontent.com/u/2333157?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhudec","html_url":"https://github.com/peterhudec","followers_url":"https://api.github.com/users/peterhudec/followers","following_url":"https://api.github.com/users/peterhudec/following{/other_user}","gists_url":"https://api.github.com/users/peterhudec/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhudec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhudec/subscriptions","organizations_url":"https://api.github.com/users/peterhudec/orgs","repos_url":"https://api.github.com/users/peterhudec/repos","events_url":"https://api.github.com/users/peterhudec/events{/privacy}","received_events_url":"https://api.github.com/users/peterhudec/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterhudec/authomatic","description":"Simple yet powerful authorization / authentication client library for Python web applications.","fork":false,"url":"https://api.github.com/repos/peterhudec/authomatic","forks_url":"https://api.github.com/repos/peterhudec/authomatic/forks","keys_url":"https://api.github.com/repos/peterhudec/authomatic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterhudec/authomatic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterhudec/authomatic/teams","hooks_url":"https://api.github.com/repos/peterhudec/authomatic/hooks","issue_events_url":"https://api.github.com/repos/peterhudec/authomatic/issues/events{/number}","events_url":"https://api.github.com/repos/peterhudec/authomatic/events","assignees_url":"https://api.github.com/repos/peterhudec/authomatic/assignees{/user}","branches_url":"https://api.github.com/repos/peterhudec/authomatic/branches{/branch}","tags_url":"https://api.github.com/repos/peterhudec/authomatic/tags","blobs_url":"https://api.github.com/repos/peterhudec/authomatic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterhudec/authomatic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterhudec/authomatic/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterhudec/authomatic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterhudec/authomatic/statuses/{sha}","languages_url":"https://api.github.com/repos/peterhudec/authomatic/languages","stargazers_url":"https://api.github.com/repos/peterhudec/authomatic/stargazers","contributors_url":"https://api.github.com/repos/peterhudec/authomatic/contributors","subscribers_url":"https://api.github.com/repos/peterhudec/authomatic/subscribers","subscription_url":"https://api.github.com/repos/peterhudec/authomatic/subscription","commits_url":"https://api.github.com/repos/peterhudec/authomatic/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterhudec/authomatic/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterhudec/authomatic/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterhudec/authomatic/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterhudec/authomatic/contents/{+path}","compare_url":"https://api.github.com/repos/peterhudec/authomatic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterhudec/authomatic/merges","archive_url":"https://api.github.com/repos/peterhudec/authomatic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterhudec/authomatic/downloads","issues_url":"https://api.github.com/repos/peterhudec/authomatic/issues{/number}","pulls_url":"https://api.github.com/repos/peterhudec/authomatic/pulls{/number}","milestones_url":"https://api.github.com/repos/peterhudec/authomatic/milestones{/number}","notifications_url":"https://api.github.com/repos/peterhudec/authomatic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterhudec/authomatic/labels{/name}","releases_url":"https://api.github.com/repos/peterhudec/authomatic/releases{/id}","created_at":"2013-02-07T14:13:35Z","updated_at":"2015-10-15T20:31:43Z","pushed_at":"2015-10-20T13:14:38Z","git_url":"git://github.com/peterhudec/authomatic.git","ssh_url":"git@github.com:peterhudec/authomatic.git","clone_url":"https://github.com/peterhudec/authomatic.git","svn_url":"https://github.com/peterhudec/authomatic","homepage":"http://peterhudec.github.io/authomatic","size":8657,"stargazers_count":594,"watchers_count":594,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":278,"mirror_url":null,"open_issues_count":53,"forks":278,"open_issues":53,"watchers":594,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/peterhudec/authomatic/pulls/125"},"html":{"href":"https://github.com/peterhudec/authomatic/pull/125"},"issue":{"href":"https://api.github.com/repos/peterhudec/authomatic/issues/125"},"comments":{"href":"https://api.github.com/repos/peterhudec/authomatic/issues/125/comments"},"review_comments":{"href":"https://api.github.com/repos/peterhudec/authomatic/pulls/125/comments"},"review_comment":{"href":"https://api.github.com/repos/peterhudec/authomatic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/peterhudec/authomatic/pulls/125/commits"},"statuses":{"href":"https://api.github.com/repos/peterhudec/authomatic/statuses/b98e0ae36d13c35838ff0fd71825f7526a1f244d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}