facebook-widgets

Facebook like box widget not recognizing data-width attribute?

假装没事ソ 提交于 2019-12-21 07:11:32
问题 I just noticed today that the data-width attribute for the Facebook Like Box widget does not appear to be working. It looks like it is reverting to the default width. An example of what I'm talking about can be seen on http://blog.christopherjonesart.com. Here is the code I'm using (it's pretty standard): <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 = "/

Facebook like box widget not recognizing data-width attribute?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 23:53:42
I just noticed today that the data-width attribute for the Facebook Like Box widget does not appear to be working. It looks like it is reverting to the default width. An example of what I'm talking about can be seen on http://blog.christopherjonesart.com . Here is the code I'm using (it's pretty standard): <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/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script',

Facebook Like Widget on Fan page, Comment area out of visible area

丶灬走出姿态 提交于 2019-11-27 14:35:21
问题 When using the like or send widget on a Fan Page (no mater if you use iframe tag or fbml for it) the overlay for commenting is positioned always to the right. see http://twitpic.com/4q7ggi for example. I cant find a way to get the widget to respect the 520px boundary of the facebook tab. see http://www.facebook.com/pages/Ludwig-Test/127771653944246?sk=app_101150316644842 for an example. Anyone an idea how to solve this ? TIA Rufinus 回答1: Try adding this to your css: .fb_edge_comment_widget {