diff --git a/docs/history.md b/docs/history.md index 7c1bceec6a..c748fda441 100644 --- a/docs/history.md +++ b/docs/history.md @@ -1,3 +1,16 @@ +## 2.8.1, Unreleased + +#### Highlights + +#### Breaking Changes + +#### Migration Steps + +#### Meteor Version Release +* `facebook-oauth@1.12.0` + - Updated default version of Facebook GraphAPI to v15 + + ## v2.8, 2022-10-19 #### Highlights @@ -77,7 +90,7 @@ Read our [Migration Guide](https://guide.meteor.com/2.8-migration.html) for this For making this great framework even better! -## v2.7.3, 2022-05-31 +## v2.7.3, 2022-05-3 #### Highlights * `accounts-passwordless@2.1.2`: diff --git a/packages/facebook-oauth/CHANGELOG.md b/packages/facebook-oauth/CHANGELOG.md index a772af6e78..b492fe1f09 100644 --- a/packages/facebook-oauth/CHANGELOG.md +++ b/packages/facebook-oauth/CHANGELOG.md @@ -1,10 +1,26 @@ # Changelog -## 1.8.0 - unreleased -### Breaking changes -- N/A - +## 1.12.0 - UNRELEASED +### Changes +- Updated default version of Facebook GraphAPI to v15 + +## 1.11.0 - 2022-03-24 +### Changes +- Updated default version of Facebook GraphAPI to v12 + +## 1.10.0 - 2021-09-14 +### Changes +- Added login handler hook, like in the Google package for easier management in React Native and similar apps. [PR](https://github.com/meteor/meteor/pull/11603) + +## 1.9.1 - 2021-08-12 +### Changes +- Allow usage of `http` package both v1 and v2 for backward compatibility + +## 1.9.0 - 2021-06-24 +### Changes +- Upgrade default Facebook API to v10 [#11362](https://github.com/meteor/meteor/pull/11362) + +## 1.8.0 - 2021-04-15 ### Changes -- Updated to use Facebook GraphAPI v10 - You can now override the default API version by setting `Meteor.settings.public.packages.facebook-oauth.apiVersion` to for example `8.0` ## 1.7.3 - 2020-10-05 diff --git a/packages/facebook-oauth/facebook_client.js b/packages/facebook-oauth/facebook_client.js index 771e1d6828..582d63bf04 100644 --- a/packages/facebook-oauth/facebook_client.js +++ b/packages/facebook-oauth/facebook_client.js @@ -30,7 +30,7 @@ Facebook.requestCredential = (options, credentialRequestCompleteCallback) => { const loginStyle = OAuth._loginStyle('facebook', config, options); - const API_VERSION = Meteor.settings?.public?.packages?.['facebook-oauth']?.apiVersion || '13.0'; + const API_VERSION = Meteor.settings?.public?.packages?.['facebook-oauth']?.apiVersion || '15.0'; let loginUrl = `https://www.facebook.com/v${API_VERSION}/dialog/oauth?client_id=${config.appId}` +