[問題] 臉書粉絲專頁Page Plugin問題
你們好
我想利用在facebook的Page Plugin粉絲專頁的語法
嵌入到網頁的HTML攔側
且谷哥過後遇到的不是舊版的就是要嵌入痞x幫的
實在是無法解決我想嵌入HTML的問題
所以想在這請問各位~
比如我用預設的fb粉絲專頁嵌入語法
按get code得以下:
(1.) 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 =
"//connect.facebook.net/zh_TW/sdk.js#xfbml=1&version=v2.4&appId=1637362053178471";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
(2.) Place the code for your plugin wherever you want the plugin to appear on
your page.
<div class="fb-page" data-href="https://www.facebook.com/facebook"
data-small-header="false" data-adapt-container-width="true"
data-hide-cover="false" data-show-facepile="true" data-show-posts="true"><div
class="fb-xfbml-parse-ignore"><blockquote
cite="https://www.facebook.com/facebook"><a
href="Facebook
推
09/11 18:01, , 1F
09/11 18:01, 1F
→
09/11 18:01, , 2F
09/11 18:01, 2F
→
09/12 21:20, , 3F
09/12 21:20, 3F
Web_Design 近期熱門文章
PTT數位生活區 即時熱門文章