{"action":"created","issue":{"url":"https://api.github.com/repos/snarfed/bridgy/issues/339","labels_url":"https://api.github.com/repos/snarfed/bridgy/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/snarfed/bridgy/issues/339/comments","events_url":"https://api.github.com/repos/snarfed/bridgy/issues/339/events","html_url":"https://github.com/snarfed/bridgy/issues/339","id":53971592,"number":339,"title":"facebook: switch to v2.2 api","user":{"login":"snarfed","id":778068,"avatar_url":"https://avatars.githubusercontent.com/u/778068?v=3","gravatar_id":"","url":"https://api.github.com/users/snarfed","html_url":"https://github.com/snarfed","followers_url":"https://api.github.com/users/snarfed/followers","following_url":"https://api.github.com/users/snarfed/following{/other_user}","gists_url":"https://api.github.com/users/snarfed/gists{/gist_id}","starred_url":"https://api.github.com/users/snarfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snarfed/subscriptions","organizations_url":"https://api.github.com/users/snarfed/orgs","repos_url":"https://api.github.com/users/snarfed/repos","events_url":"https://api.github.com/users/snarfed/events{/privacy}","received_events_url":"https://api.github.com/users/snarfed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snarfed/bridgy/labels/listen","name":"listen","color":"207de5"},{"url":"https://api.github.com/repos/snarfed/bridgy/labels/now","name":"now","color":"009800"},{"url":"https://api.github.com/repos/snarfed/bridgy/labels/publish","name":"publish","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"snarfed","id":778068,"avatar_url":"https://avatars.githubusercontent.com/u/778068?v=3","gravatar_id":"","url":"https://api.github.com/users/snarfed","html_url":"https://github.com/snarfed","followers_url":"https://api.github.com/users/snarfed/followers","following_url":"https://api.github.com/users/snarfed/following{/other_user}","gists_url":"https://api.github.com/users/snarfed/gists{/gist_id}","starred_url":"https://api.github.com/users/snarfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snarfed/subscriptions","organizations_url":"https://api.github.com/users/snarfed/orgs","repos_url":"https://api.github.com/users/snarfed/repos","events_url":"https://api.github.com/users/snarfed/events{/privacy}","received_events_url":"https://api.github.com/users/snarfed/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-01-10T21:15:48Z","updated_at":"2015-01-19T20:14:31Z","closed_at":"2015-01-16T18:09:08Z","body":"we currently use the graph API via unversioned URLs, so we default to the v1 api, which will sunset in april. we should start using v2.2.\r\n\r\nbackground:\r\n* https://developers.facebook.com/docs/apps/upgrading/\r\n* https://developers.facebook.com/docs/apps/changelog\r\n* https://developers.facebook.com/docs/apps/faq"},"comment":{"url":"https://api.github.com/repos/snarfed/bridgy/issues/comments/70553541","html_url":"https://github.com/snarfed/bridgy/issues/339#issuecomment-70553541","issue_url":"https://api.github.com/repos/snarfed/bridgy/issues/339","id":70553541,"user":{"login":"snarfed","id":778068,"avatar_url":"https://avatars.githubusercontent.com/u/778068?v=3","gravatar_id":"","url":"https://api.github.com/users/snarfed","html_url":"https://github.com/snarfed","followers_url":"https://api.github.com/users/snarfed/followers","following_url":"https://api.github.com/users/snarfed/following{/other_user}","gists_url":"https://api.github.com/users/snarfed/gists{/gist_id}","starred_url":"https://api.github.com/users/snarfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snarfed/subscriptions","organizations_url":"https://api.github.com/users/snarfed/orgs","repos_url":"https://api.github.com/users/snarfed/repos","events_url":"https://api.github.com/users/snarfed/events{/privacy}","received_events_url":"https://api.github.com/users/snarfed/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T20:14:31Z","updated_at":"2015-01-19T20:14:31Z","body":"i checked a couple tokens on  from users who signed up after this change, and confirmed they got all the oauth scopes we need:\r\n* listen: `public_profile, read_stream, user_website, user_events, user_photos, user_status`\r\n* publish: `rsvp_event, publish_actions, user_likes`\r\n\r\n...and that they expire in 2 months, so we also still get `offline_access`."}}