Facebook Embed – How to Change Embedded Posts Plugin Width

embedfacebook

I want to change the Facebook embedded posts plugin to fit in the side bar widget for my site. Currently, it is 286px wide, but the Facebook plugin width is around 567px.

How can I accomplish that?

Best Answer

If you are using the Facebook Embedded Posts Plugin released at the beginning of August (2013), you cannot currently change the appearance or width of the post. According to the documentation (linked to above):

Can I customize how the post is displayed on my web page?

Currently, you cannot customize how Embedded Posts are displayed on your page. The size of the post is fixed to the same dimensions as it's shown on Facebook.

My unexpert two-cents: Theoretically, you could apply your own CSS to the <div class="fb-post"></div>, but it seems like (as of right now) this will just end up cutting off part of the post or messing up the aspect ratio (or something to that effect).