WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
[resolved] Facebook fan box width alternative solution (4 posts)

  1. jastray
    Member
    Posted 1 year ago #

    Sorry, I don't know wether is possible to reopen a Topic marked [resolved] as is thread:

    http://wordpress.org/support/topic/fan-box-width-issue?replies=5

    The point is that I have seen in this web http://greenpassivesolar.com that there is a technical solution for the box size. She is using Magazine Basic theme. I asked the author of this magazine (Keya) and she has kindly shared with me how she solved it

    I created a developer account with facebook and inserted an iframe. I then specified the dimensions of the iframe, such that it is 160px in width and 487px in height. I didn't use a plugin. The code can be seen with firebug, but I'll also insert it below:

    <iframe scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:160px; height:487px;" src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fgreenpassivesolar&width=160&colorscheme=light&connections=10&stream=false&header=true&height=487">

    I assume that this alternative solution can be implemented in SFC, if not I will have to use her approach with is rather less configurable and convenient than using a plugin

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 1 year ago #

    That code only will work until Facebook notices it and updates their code to implement the minimum width in the iframe (or discontinues support for the iframe method entirely, which honestly would not surprise me).

    I won't implement any workarounds or anything unsupported like this in SFC. Sorry. Feel free to use her approach instead.

  3. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 1 year ago #

    Also, topics marked "resolved" are not closed in this forum. If you want to comment in one of them, then just, you know, comment in one of them.

  4. jastray
    Member
    Posted 1 year ago #

    OK, understood.

    So at the end what RavanH says is 100% valid:

    bad news.. iframe code enforces the SAME minimum.. Facebook taking away my ability to control the look of my site SUCKS..

    This FB policy spoils hundreds of themes

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic