{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/geeknam/messengerbot/pulls/12","id":68798621,"html_url":"https://github.com/geeknam/messengerbot/pull/12","diff_url":"https://github.com/geeknam/messengerbot/pull/12.diff","patch_url":"https://github.com/geeknam/messengerbot/pull/12.patch","issue_url":"https://api.github.com/repos/geeknam/messengerbot/issues/12","number":12,"state":"open","locked":false,"title":"Fix webhooks to handle delivery callback","user":{"login":"rdkr","id":3134270,"avatar_url":"https://avatars.githubusercontent.com/u/3134270?v=3","gravatar_id":"","url":"https://api.github.com/users/rdkr","html_url":"https://github.com/rdkr","followers_url":"https://api.github.com/users/rdkr/followers","following_url":"https://api.github.com/users/rdkr/following{/other_user}","gists_url":"https://api.github.com/users/rdkr/gists{/gist_id}","starred_url":"https://api.github.com/users/rdkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdkr/subscriptions","organizations_url":"https://api.github.com/users/rdkr/orgs","repos_url":"https://api.github.com/users/rdkr/repos","events_url":"https://api.github.com/users/rdkr/events{/privacy}","received_events_url":"https://api.github.com/users/rdkr/received_events","type":"User","site_admin":false},"body":"The delivery callback doesn't include a timestamp, which causes missing argument exceptions. This handles the problem, but if there is a better way please point me in the right direction and I'll update. The test has also been updated to use the full Facebook provided example callbacks [from here](https://developers.facebook.com/docs/messenger-platform/webhook-reference).","created_at":"2016-05-04T01:00:31Z","updated_at":"2016-05-04T01:00:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0edd466b9e857113322d82330a02cfb3d400a76a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/geeknam/messengerbot/pulls/12/commits","review_comments_url":"https://api.github.com/repos/geeknam/messengerbot/pulls/12/comments","review_comment_url":"https://api.github.com/repos/geeknam/messengerbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geeknam/messengerbot/issues/12/comments","statuses_url":"https://api.github.com/repos/geeknam/messengerbot/statuses/9263ef7c25153db03464f2a5010d3c60a6c7b2bf","head":{"label":"rdkr:master","ref":"master","sha":"9263ef7c25153db03464f2a5010d3c60a6c7b2bf","user":{"login":"rdkr","id":3134270,"avatar_url":"https://avatars.githubusercontent.com/u/3134270?v=3","gravatar_id":"","url":"https://api.github.com/users/rdkr","html_url":"https://github.com/rdkr","followers_url":"https://api.github.com/users/rdkr/followers","following_url":"https://api.github.com/users/rdkr/following{/other_user}","gists_url":"https://api.github.com/users/rdkr/gists{/gist_id}","starred_url":"https://api.github.com/users/rdkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdkr/subscriptions","organizations_url":"https://api.github.com/users/rdkr/orgs","repos_url":"https://api.github.com/users/rdkr/repos","events_url":"https://api.github.com/users/rdkr/events{/privacy}","received_events_url":"https://api.github.com/users/rdkr/received_events","type":"User","site_admin":false},"repo":{"id":57984164,"name":"messengerbot","full_name":"rdkr/messengerbot","owner":{"login":"rdkr","id":3134270,"avatar_url":"https://avatars.githubusercontent.com/u/3134270?v=3","gravatar_id":"","url":"https://api.github.com/users/rdkr","html_url":"https://github.com/rdkr","followers_url":"https://api.github.com/users/rdkr/followers","following_url":"https://api.github.com/users/rdkr/following{/other_user}","gists_url":"https://api.github.com/users/rdkr/gists{/gist_id}","starred_url":"https://api.github.com/users/rdkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdkr/subscriptions","organizations_url":"https://api.github.com/users/rdkr/orgs","repos_url":"https://api.github.com/users/rdkr/repos","events_url":"https://api.github.com/users/rdkr/events{/privacy}","received_events_url":"https://api.github.com/users/rdkr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rdkr/messengerbot","description":"Python client for Facebook Messenger Platform Bot","fork":true,"url":"https://api.github.com/repos/rdkr/messengerbot","forks_url":"https://api.github.com/repos/rdkr/messengerbot/forks","keys_url":"https://api.github.com/repos/rdkr/messengerbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rdkr/messengerbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rdkr/messengerbot/teams","hooks_url":"https://api.github.com/repos/rdkr/messengerbot/hooks","issue_events_url":"https://api.github.com/repos/rdkr/messengerbot/issues/events{/number}","events_url":"https://api.github.com/repos/rdkr/messengerbot/events","assignees_url":"https://api.github.com/repos/rdkr/messengerbot/assignees{/user}","branches_url":"https://api.github.com/repos/rdkr/messengerbot/branches{/branch}","tags_url":"https://api.github.com/repos/rdkr/messengerbot/tags","blobs_url":"https://api.github.com/repos/rdkr/messengerbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rdkr/messengerbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rdkr/messengerbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/rdkr/messengerbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rdkr/messengerbot/statuses/{sha}","languages_url":"https://api.github.com/repos/rdkr/messengerbot/languages","stargazers_url":"https://api.github.com/repos/rdkr/messengerbot/stargazers","contributors_url":"https://api.github.com/repos/rdkr/messengerbot/contributors","subscribers_url":"https://api.github.com/repos/rdkr/messengerbot/subscribers","subscription_url":"https://api.github.com/repos/rdkr/messengerbot/subscription","commits_url":"https://api.github.com/repos/rdkr/messengerbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/rdkr/messengerbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/rdkr/messengerbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/rdkr/messengerbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/rdkr/messengerbot/contents/{+path}","compare_url":"https://api.github.com/repos/rdkr/messengerbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rdkr/messengerbot/merges","archive_url":"https://api.github.com/repos/rdkr/messengerbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rdkr/messengerbot/downloads","issues_url":"https://api.github.com/repos/rdkr/messengerbot/issues{/number}","pulls_url":"https://api.github.com/repos/rdkr/messengerbot/pulls{/number}","milestones_url":"https://api.github.com/repos/rdkr/messengerbot/milestones{/number}","notifications_url":"https://api.github.com/repos/rdkr/messengerbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rdkr/messengerbot/labels{/name}","releases_url":"https://api.github.com/repos/rdkr/messengerbot/releases{/id}","deployments_url":"https://api.github.com/repos/rdkr/messengerbot/deployments","created_at":"2016-05-03T16:29:19Z","updated_at":"2016-05-03T16:29:20Z","pushed_at":"2016-05-04T00:49:13Z","git_url":"git://github.com/rdkr/messengerbot.git","ssh_url":"git@github.com:rdkr/messengerbot.git","clone_url":"https://github.com/rdkr/messengerbot.git","svn_url":"https://github.com/rdkr/messengerbot","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"geeknam:master","ref":"master","sha":"f0a662613978c324b04949e6130ba7560e98af13","user":{"login":"geeknam","id":199628,"avatar_url":"https://avatars.githubusercontent.com/u/199628?v=3","gravatar_id":"","url":"https://api.github.com/users/geeknam","html_url":"https://github.com/geeknam","followers_url":"https://api.github.com/users/geeknam/followers","following_url":"https://api.github.com/users/geeknam/following{/other_user}","gists_url":"https://api.github.com/users/geeknam/gists{/gist_id}","starred_url":"https://api.github.com/users/geeknam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geeknam/subscriptions","organizations_url":"https://api.github.com/users/geeknam/orgs","repos_url":"https://api.github.com/users/geeknam/repos","events_url":"https://api.github.com/users/geeknam/events{/privacy}","received_events_url":"https://api.github.com/users/geeknam/received_events","type":"User","site_admin":false},"repo":{"id":56365724,"name":"messengerbot","full_name":"geeknam/messengerbot","owner":{"login":"geeknam","id":199628,"avatar_url":"https://avatars.githubusercontent.com/u/199628?v=3","gravatar_id":"","url":"https://api.github.com/users/geeknam","html_url":"https://github.com/geeknam","followers_url":"https://api.github.com/users/geeknam/followers","following_url":"https://api.github.com/users/geeknam/following{/other_user}","gists_url":"https://api.github.com/users/geeknam/gists{/gist_id}","starred_url":"https://api.github.com/users/geeknam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geeknam/subscriptions","organizations_url":"https://api.github.com/users/geeknam/orgs","repos_url":"https://api.github.com/users/geeknam/repos","events_url":"https://api.github.com/users/geeknam/events{/privacy}","received_events_url":"https://api.github.com/users/geeknam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geeknam/messengerbot","description":"Python client for Facebook Messenger Platform Bot","fork":false,"url":"https://api.github.com/repos/geeknam/messengerbot","forks_url":"https://api.github.com/repos/geeknam/messengerbot/forks","keys_url":"https://api.github.com/repos/geeknam/messengerbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geeknam/messengerbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geeknam/messengerbot/teams","hooks_url":"https://api.github.com/repos/geeknam/messengerbot/hooks","issue_events_url":"https://api.github.com/repos/geeknam/messengerbot/issues/events{/number}","events_url":"https://api.github.com/repos/geeknam/messengerbot/events","assignees_url":"https://api.github.com/repos/geeknam/messengerbot/assignees{/user}","branches_url":"https://api.github.com/repos/geeknam/messengerbot/branches{/branch}","tags_url":"https://api.github.com/repos/geeknam/messengerbot/tags","blobs_url":"https://api.github.com/repos/geeknam/messengerbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geeknam/messengerbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geeknam/messengerbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/geeknam/messengerbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geeknam/messengerbot/statuses/{sha}","languages_url":"https://api.github.com/repos/geeknam/messengerbot/languages","stargazers_url":"https://api.github.com/repos/geeknam/messengerbot/stargazers","contributors_url":"https://api.github.com/repos/geeknam/messengerbot/contributors","subscribers_url":"https://api.github.com/repos/geeknam/messengerbot/subscribers","subscription_url":"https://api.github.com/repos/geeknam/messengerbot/subscription","commits_url":"https://api.github.com/repos/geeknam/messengerbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/geeknam/messengerbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/geeknam/messengerbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/geeknam/messengerbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/geeknam/messengerbot/contents/{+path}","compare_url":"https://api.github.com/repos/geeknam/messengerbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geeknam/messengerbot/merges","archive_url":"https://api.github.com/repos/geeknam/messengerbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geeknam/messengerbot/downloads","issues_url":"https://api.github.com/repos/geeknam/messengerbot/issues{/number}","pulls_url":"https://api.github.com/repos/geeknam/messengerbot/pulls{/number}","milestones_url":"https://api.github.com/repos/geeknam/messengerbot/milestones{/number}","notifications_url":"https://api.github.com/repos/geeknam/messengerbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geeknam/messengerbot/labels{/name}","releases_url":"https://api.github.com/repos/geeknam/messengerbot/releases{/id}","deployments_url":"https://api.github.com/repos/geeknam/messengerbot/deployments","created_at":"2016-04-16T04:33:40Z","updated_at":"2016-05-03T04:52:34Z","pushed_at":"2016-05-04T01:00:32Z","git_url":"git://github.com/geeknam/messengerbot.git","ssh_url":"git@github.com:geeknam/messengerbot.git","clone_url":"https://github.com/geeknam/messengerbot.git","svn_url":"https://github.com/geeknam/messengerbot","homepage":null,"size":19,"stargazers_count":25,"watchers_count":25,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geeknam/messengerbot/pulls/12"},"html":{"href":"https://github.com/geeknam/messengerbot/pull/12"},"issue":{"href":"https://api.github.com/repos/geeknam/messengerbot/issues/12"},"comments":{"href":"https://api.github.com/repos/geeknam/messengerbot/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/geeknam/messengerbot/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/geeknam/messengerbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geeknam/messengerbot/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/geeknam/messengerbot/statuses/9263ef7c25153db03464f2a5010d3c60a6c7b2bf"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":75,"deletions":22,"changed_files":2}}