Facebook plugin with fluid width
Due to the inline attribute causes the width of facebook plugin to be fix in a specific size. To solve this problem, use !important to override it.
Take fb like box for example:
If embedded code is:
<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/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like-box" data-href="https://www.facebook.com/pages/[your page]/[id]" data-show-faces="false"
data-stream="true" data-header="false"></div>
However, the most useful way is adding below in CSS
.fb-like-box, .fb-like-box span, .fb-like-box span iframe[style] {
width: 100% !important;
}
Then it works!