{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/comments/44408090","id":44408090,"diff_hunk":"@@ -218,6 +218,14 @@ public function testARequestWithFilesWillBeMultipart()\n         $this->assertContains('multipart/form-data; boundary=', $headersSent['Content-Type']);\n     }\n \n+    public function testAFacebookRequestValidateAccessTokenIsNotProvided(){","path":"tests/FacebookClientTest.php","position":4,"original_position":4,"commit_id":"5e7d44c09bfa3c11c5ef982f9c7872e80e97f52d","original_commit_id":"5e7d44c09bfa3c11c5ef982f9c7872e80e97f52d","user":{"login":"SammyK","id":578780,"avatar_url":"https://avatars.githubusercontent.com/u/578780?v=3","gravatar_id":"","url":"https://api.github.com/users/SammyK","html_url":"https://github.com/SammyK","followers_url":"https://api.github.com/users/SammyK/followers","following_url":"https://api.github.com/users/SammyK/following{/other_user}","gists_url":"https://api.github.com/users/SammyK/gists{/gist_id}","starred_url":"https://api.github.com/users/SammyK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SammyK/subscriptions","organizations_url":"https://api.github.com/users/SammyK/orgs","repos_url":"https://api.github.com/users/SammyK/repos","events_url":"https://api.github.com/users/SammyK/events{/privacy}","received_events_url":"https://api.github.com/users/SammyK/received_events","type":"User","site_admin":false},"body":"`{` should be on next line.\r\n\r\nAlso method name should be `testAFacebookRequestValidatesTheAccessTokenWhenOneIsNotProvided()` :)","created_at":"2015-11-10T13:56:58Z","updated_at":"2015-11-10T13:56:58Z","html_url":"https://github.com/facebook/facebook-php-sdk-v4/pull/535#discussion_r44408090","pull_request_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/535","_links":{"self":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/comments/44408090"},"html":{"href":"https://github.com/facebook/facebook-php-sdk-v4/pull/535#discussion_r44408090"},"pull_request":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/535"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/535","id":50235285,"html_url":"https://github.com/facebook/facebook-php-sdk-v4/pull/535","diff_url":"https://github.com/facebook/facebook-php-sdk-v4/pull/535.diff","patch_url":"https://github.com/facebook/facebook-php-sdk-v4/pull/535.patch","issue_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/535","number":535,"state":"open","locked":false,"title":"[Bugfix] Facebook AccessToken is being validated correctly","user":{"login":"lexakozakov","id":565530,"avatar_url":"https://avatars.githubusercontent.com/u/565530?v=3","gravatar_id":"","url":"https://api.github.com/users/lexakozakov","html_url":"https://github.com/lexakozakov","followers_url":"https://api.github.com/users/lexakozakov/followers","following_url":"https://api.github.com/users/lexakozakov/following{/other_user}","gists_url":"https://api.github.com/users/lexakozakov/gists{/gist_id}","starred_url":"https://api.github.com/users/lexakozakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexakozakov/subscriptions","organizations_url":"https://api.github.com/users/lexakozakov/orgs","repos_url":"https://api.github.com/users/lexakozakov/repos","events_url":"https://api.github.com/users/lexakozakov/events{/privacy}","received_events_url":"https://api.github.com/users/lexakozakov/received_events","type":"User","site_admin":false},"body":"That commit fixes the access token validation bug, when access token is not being validated at all.   ","created_at":"2015-11-10T10:12:05Z","updated_at":"2015-11-10T13:56:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6ca8467829f3820ebbcf6ba8c41feeaa4be6a02","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/535/commits","review_comments_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/535/comments","review_comment_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/535/comments","statuses_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/statuses/5e7d44c09bfa3c11c5ef982f9c7872e80e97f52d","head":{"label":"lexakozakov:master","ref":"master","sha":"5e7d44c09bfa3c11c5ef982f9c7872e80e97f52d","user":{"login":"lexakozakov","id":565530,"avatar_url":"https://avatars.githubusercontent.com/u/565530?v=3","gravatar_id":"","url":"https://api.github.com/users/lexakozakov","html_url":"https://github.com/lexakozakov","followers_url":"https://api.github.com/users/lexakozakov/followers","following_url":"https://api.github.com/users/lexakozakov/following{/other_user}","gists_url":"https://api.github.com/users/lexakozakov/gists{/gist_id}","starred_url":"https://api.github.com/users/lexakozakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexakozakov/subscriptions","organizations_url":"https://api.github.com/users/lexakozakov/orgs","repos_url":"https://api.github.com/users/lexakozakov/repos","events_url":"https://api.github.com/users/lexakozakov/events{/privacy}","received_events_url":"https://api.github.com/users/lexakozakov/received_events","type":"User","site_admin":false},"repo":{"id":45903202,"name":"facebook-php-sdk-v4","full_name":"lexakozakov/facebook-php-sdk-v4","owner":{"login":"lexakozakov","id":565530,"avatar_url":"https://avatars.githubusercontent.com/u/565530?v=3","gravatar_id":"","url":"https://api.github.com/users/lexakozakov","html_url":"https://github.com/lexakozakov","followers_url":"https://api.github.com/users/lexakozakov/followers","following_url":"https://api.github.com/users/lexakozakov/following{/other_user}","gists_url":"https://api.github.com/users/lexakozakov/gists{/gist_id}","starred_url":"https://api.github.com/users/lexakozakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexakozakov/subscriptions","organizations_url":"https://api.github.com/users/lexakozakov/orgs","repos_url":"https://api.github.com/users/lexakozakov/repos","events_url":"https://api.github.com/users/lexakozakov/events{/privacy}","received_events_url":"https://api.github.com/users/lexakozakov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lexakozakov/facebook-php-sdk-v4","description":"The Facebook SDK for PHP provides a native interface to the Graph API and Facebook Login.  https://developers.facebook.com/docs/php","fork":true,"url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4","forks_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/forks","keys_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/teams","hooks_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/hooks","issue_events_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/issues/events{/number}","events_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/events","assignees_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/assignees{/user}","branches_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/branches{/branch}","tags_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/tags","blobs_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/git/refs{/sha}","trees_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/statuses/{sha}","languages_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/languages","stargazers_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/stargazers","contributors_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/contributors","subscribers_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/subscribers","subscription_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/subscription","commits_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/commits{/sha}","git_commits_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/git/commits{/sha}","comments_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/comments{/number}","issue_comment_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/issues/comments{/number}","contents_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/contents/{+path}","compare_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/merges","archive_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/downloads","issues_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/issues{/number}","pulls_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/pulls{/number}","milestones_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/milestones{/number}","notifications_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/labels{/name}","releases_url":"https://api.github.com/repos/lexakozakov/facebook-php-sdk-v4/releases{/id}","created_at":"2015-11-10T09:58:51Z","updated_at":"2015-11-10T09:58:52Z","pushed_at":"2015-11-10T10:01:42Z","git_url":"git://github.com/lexakozakov/facebook-php-sdk-v4.git","ssh_url":"git@github.com:lexakozakov/facebook-php-sdk-v4.git","clone_url":"https://github.com/lexakozakov/facebook-php-sdk-v4.git","svn_url":"https://github.com/lexakozakov/facebook-php-sdk-v4","homepage":null,"size":3906,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"facebook:master","ref":"master","sha":"55c7ec33cde831e0830a27f8f764762b5badd204","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":18842338,"name":"facebook-php-sdk-v4","full_name":"facebook/facebook-php-sdk-v4","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/facebook-php-sdk-v4","description":"The Facebook SDK for PHP provides a native interface to the Graph API and Facebook Login.  https://developers.facebook.com/docs/php","fork":false,"url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4","forks_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/forks","keys_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/teams","hooks_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/hooks","issue_events_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/events","assignees_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/tags","blobs_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/languages","stargazers_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/stargazers","contributors_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/contributors","subscribers_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/subscribers","subscription_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/subscription","commits_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/merges","archive_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/downloads","issues_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/labels{/name}","releases_url":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/releases{/id}","created_at":"2014-04-16T14:20:43Z","updated_at":"2015-11-10T03:40:09Z","pushed_at":"2015-11-10T10:12:06Z","git_url":"git://github.com/facebook/facebook-php-sdk-v4.git","ssh_url":"git@github.com:facebook/facebook-php-sdk-v4.git","clone_url":"https://github.com/facebook/facebook-php-sdk-v4.git","svn_url":"https://github.com/facebook/facebook-php-sdk-v4","homepage":null,"size":3906,"stargazers_count":914,"watchers_count":914,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":504,"mirror_url":null,"open_issues_count":12,"forks":504,"open_issues":12,"watchers":914,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/535"},"html":{"href":"https://github.com/facebook/facebook-php-sdk-v4/pull/535"},"issue":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/535"},"comments":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/issues/535/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/535/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/pulls/535/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/facebook-php-sdk-v4/statuses/5e7d44c09bfa3c11c5ef982f9c7872e80e97f52d"}}}}