Facebook Page Plugin - Refused to display in a frame because it set 'X-Frame-Options' to 'sameorigin'

烈酒焚心 提交于 2019-12-23 12:58:32

问题


So here is my website which i have embeded the Page Plugin in the right column: https://trade.z.com/hk/tc/

It works perfectly in other browsers but not in Chrome. Wait for a few mins and there will be an error prompted in the the developer tool's console. Full error message as below:

Refused to display 'https://www.facebook.com/xti.php?xt=AZVp-LKocyBZqjT4dWwYI35ld4DtHr-18CJRT0Hkj94pDsEg0xQ6Huxs6yrp3fmq2cu7K5mYZ5FLGEpwTSBVR2q-ixCw8zf7TeQTEeE5mS3CUStk4vjo06NfLORxOEtFkK-ra_zb5E5lpxmLr6DyPkPd9KougTl8hhhe-Jv1AE1Zl-skzEHvVMRlJ6EoPH0UTSD23MhqQKSjL1R-egZRDSLD9FH3JR267SA7H9a5gZysuA8Daf999a4FP6WkyHYmQC8mtmMb_UMIeycl8qnakxN7vXZEK0xY8SI6dpDkgMDiZQyWpFatzx8ESy7b7eBRHJfam5Ru_AkgC7c4UeoE8dYlSyWtKDoTGyio2nH_02YMfd9OSPkBQZcjOhSCb1gLO9f9w07QxHK6q7pS6i3p2KS-UhfPncspgcQI-4k8qbQG-DZrZlHtGCXJloZB9hSwtZ68pTG8wtnCunKF5YSJuAZ5sAsFqYFsmkUrB-tExVIKTQJH413awON4bHNTcbHdx306leBNXemENdLL8QMkZPkAtVTYKKD3x7_Ii_dMwznfY2bb_0KFWGM--_ilgWJvx9ostH-iKsrGnbeToaodNu0cD9CI4wIGPtDkr47hSp7RDUaLMCIdzcMlnHjvPIajE4BcgGwo_LlNpxItVkStkA_cIEFbhEh4fHPk-Cka39TRVg&isv=1&cts=1512539623&csp' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Is there a way I can solve this error? I tried to do edits on my website's Apache and it didn't work. Please help.

来源:https://stackoverflow.com/questions/47668038/facebook-page-plugin-refused-to-display-in-a-frame-because-it-set-x-frame-opt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!