搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

facebook page plugin not displaying

  • 1 个回答
  • 2 人有此问题
  • 4 次查看
  • 最后回复者为 Shadow110

more options

Facebook page plugin code for wordpress does not display correctly in Firefox but does in IE. Firefox only shows facebook link (which works) but not the page or timeline info. Checked this on my phone and it's the same in android.

Facebook suggested code: Step 2: Include the JavaScript SDK on your page once, ideally right after the opening body tag.

<script>(function(d, s, id) {

 var js, fjs = d.getElementsByTagName(s)[0];
 if (d.getElementById(id)) return;
 js = d.createElement(s); js.id = id;
 js.src = 'https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.12&appId=1605012499727939&autoLogAppEvents=1';
 fjs.parentNode.insertBefore(js, fjs);

}(document, 'script', 'facebook-jssdk'));</script>

Step 3: Place this code wherever you want the plugin to appear on your page.

Facebook page plugin code for wordpress does not display correctly in Firefox but does in IE. Firefox only shows facebook link (which works) but not the page or timeline info. Checked this on my phone and it's the same in android. Facebook suggested code: Step 2: Include the JavaScript SDK on your page once, ideally right after the opening body tag. <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = 'https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.12&appId=1605012499727939&autoLogAppEvents=1'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> Step 3: Place this code wherever you want the plugin to appear on your page. <div class="fb-page" data-href="https://www.facebook.com/x.x.x/" data-tabs="timeline" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/x.x.x/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/x.x.x/">xxx</a></blockquote></div>

所有回复 (1)

more options

Hi, are you describing 2 or 3 problems ? 1 is your having issues with Firefox displaying Facebook, 2 Plugin on your own website does not work 3 Firefox on Android not working properly also

Is the above correct ?

For 2 please supply your website address or please check your code using W3C.org (World Wide Web Consortium) in charge of standards and practices and future development of web pages and web browsers make the rules on code. Mozilla Firefox follows these rules. W3C.org Who make the rules for web code. HTML https://validator.w3.org/ CSS https://jigsaw.w3.org/css-validator/ and https://validator.w3.org/i18n-checker/ and http://mobile.css-validator.org/

3 Please see here and post questions for mobile android https://support.mozilla.org/en-US/products/mobile

for 1 see if the above helps.