Skip to content

Commit

Permalink
fix(core): 🐛 facebook login fix
Browse files Browse the repository at this point in the history
facebook login fix

Ref: #383
  • Loading branch information
PritamIT2023 committed Oct 3, 2024
1 parent 28f17d9 commit 2c85db2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/components/inputs/custom/FacebookAuthComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const FacebookAuthComponent = (props) => {
// Load the Facebook SDK
window.fbAsyncInit = function () {
window.FB.init({
appId : config?.wrappid?.socialLogin?.facebook?.apiKey, // Replace with your Facebook App ID
appId : config?.wrappid?.socialLogin?.facebook?.appId, // Replace with your Facebook App ID
cookie : true,
version: "v20.0",
xfbml : true,
Expand All @@ -46,8 +46,8 @@ const FacebookAuthComponent = (props) => {
}
},
{
scope:
"pages_manage_posts,pages_read_engagement,pages_manage_engagement",
config_id: config?.wrappid?.socialLogin?.facebook?.configId,
scope : "public_profile,email",
}
);
};
Expand Down

0 comments on commit 2c85db2

Please sign in to comment.