Skip to content

Commit

Permalink
amp-facebook broken: fix sdk version
Browse files Browse the repository at this point in the history
  • Loading branch information
powerivq committed Jul 27, 2023
1 parent f1b9497 commit b07927f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3p/facebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export function facebook(global, data) {
);
});

FB.init({xfbml: true, version: 'v2.5'});
FB.init({xfbml: true, version: 'v17.0'});

Check warning on line 210 in 3p/facebook.js

View check run for this annotation

Codecov / codecov/patch

3p/facebook.js#L210

Added line #L210 was not covered by tests

// Report to parent that the SDK has loaded and is ready to paint
const message = JSON.stringify({
Expand Down

0 comments on commit b07927f

Please sign in to comment.