{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/2495","labels_url":"https://api.github.com/repos/Automattic/jetpack/issues/2495/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/jetpack/issues/2495/comments","events_url":"https://api.github.com/repos/Automattic/jetpack/issues/2495/events","html_url":"https://github.com/Automattic/jetpack/pull/2495","id":99238934,"number":2495,"title":"Revert Facebook share count requests to use Facebook API","user":{"login":"aduth","id":1779930,"avatar_url":"https://avatars.githubusercontent.com/u/1779930?v=3","gravatar_id":"","url":"https://api.github.com/users/aduth","html_url":"https://github.com/aduth","followers_url":"https://api.github.com/users/aduth/followers","following_url":"https://api.github.com/users/aduth/following{/other_user}","gists_url":"https://api.github.com/users/aduth/gists{/gist_id}","starred_url":"https://api.github.com/users/aduth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aduth/subscriptions","organizations_url":"https://api.github.com/users/aduth/orgs","repos_url":"https://api.github.com/users/aduth/repos","events_url":"https://api.github.com/users/aduth/events{/privacy}","received_events_url":"https://api.github.com/users/aduth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Needs%20Review","name":"Needs Review","color":"fbca04"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Sharing","name":"Sharing","color":"c7def8"},{"url":"https://api.github.com/repos/Automattic/jetpack/labels/Team%20I/O","name":"Team I/O","color":"6d69a8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Automattic/jetpack/milestones/21","html_url":"https://github.com/Automattic/jetpack/milestones/3.7","labels_url":"https://api.github.com/repos/Automattic/jetpack/milestones/21/labels","id":1138279,"number":21,"title":"3.7","description":"","creator":{"login":"kraftbj","id":88897,"avatar_url":"https://avatars.githubusercontent.com/u/88897?v=3","gravatar_id":"","url":"https://api.github.com/users/kraftbj","html_url":"https://github.com/kraftbj","followers_url":"https://api.github.com/users/kraftbj/followers","following_url":"https://api.github.com/users/kraftbj/following{/other_user}","gists_url":"https://api.github.com/users/kraftbj/gists{/gist_id}","starred_url":"https://api.github.com/users/kraftbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraftbj/subscriptions","organizations_url":"https://api.github.com/users/kraftbj/orgs","repos_url":"https://api.github.com/users/kraftbj/repos","events_url":"https://api.github.com/users/kraftbj/events{/privacy}","received_events_url":"https://api.github.com/users/kraftbj/received_events","type":"User","site_admin":false},"open_issues":216,"closed_issues":61,"state":"open","created_at":"2015-05-28T15:18:58Z","updated_at":"2015-08-05T19:17:12Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-08-05T16:01:15Z","updated_at":"2015-08-05T20:45:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Automattic/jetpack/pulls/2495","html_url":"https://github.com/Automattic/jetpack/pull/2495","diff_url":"https://github.com/Automattic/jetpack/pull/2495.diff","patch_url":"https://github.com/Automattic/jetpack/pull/2495.patch"},"body":"Related: #1946\r\n\r\nDespite the Facebook Graph API v1 [being sunsetted on April 30th](https://href.li/?https://developers.facebook.com/docs/apps/changelog), it appears that Facebook has made an exception for the endpoint from which sharing counts are made available. This means that we should no longer make requests to the WordPress.com REST API, but instead perform them directly against the Facebook Graph API.\r\n\r\nSee related Facebook Developer bug report, with official response that \"not requiring an access token is intended and expected behavior\".\r\n\r\nhttps://developers.facebook.com/bugs/1461118160858999"},"comment":{"url":"https://api.github.com/repos/Automattic/jetpack/issues/comments/128142768","html_url":"https://github.com/Automattic/jetpack/pull/2495#issuecomment-128142768","issue_url":"https://api.github.com/repos/Automattic/jetpack/issues/2495","id":128142768,"user":{"login":"zinigor","id":374293,"avatar_url":"https://avatars.githubusercontent.com/u/374293?v=3","gravatar_id":"","url":"https://api.github.com/users/zinigor","html_url":"https://github.com/zinigor","followers_url":"https://api.github.com/users/zinigor/followers","following_url":"https://api.github.com/users/zinigor/following{/other_user}","gists_url":"https://api.github.com/users/zinigor/gists{/gist_id}","starred_url":"https://api.github.com/users/zinigor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinigor/subscriptions","organizations_url":"https://api.github.com/users/zinigor/orgs","repos_url":"https://api.github.com/users/zinigor/repos","events_url":"https://api.github.com/users/zinigor/events{/privacy}","received_events_url":"https://api.github.com/users/zinigor/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T20:45:39Z","updated_at":"2015-08-05T20:45:39Z","body":"The good thing though is that Facebook now works the same as all the other share counters. Thank you, tested, works fine! Also thanks for the review @jkudish!"}}