Default Facebook button is not working in different browser
2

We have integrated the default facebook button in our site using this https://developers.facebook.com/docs/facebook-login/web/ javascript sdk.

After conducting thorough cross-browser testing across various machines, we’ve identified an inconsistency in the behavior of the default Facebook button.As per our observation, the default button renders only when Facebook.com has been previously accessed on the respective browser. Furthermore, we’ve noticed that this behavior is same to private browsing windows as well.

It gives the error like this "chromewebdata/:1 Refused to display 'https://www.facebook.com/' in a frame because it set 'X-Frame-Options' to 'deny'"

we have tried out all possible solution to fix this issue like removing the CSP policy, enabling the third parties cookies in the browser also checked the Facebook documentation. But not able to find any appropriate solution for this issue.

So can you please help us in it?

Dheyay
Asked about 6 months ago