Mobile app version of vmapp.org
Login or Join
Bethany197

: Facebook Like Boxes returning 500 Internal Server Error Since a few days I have seen several of my clients websites, our business website and even my own personal website starting to show blank

@Bethany197

Posted in: #Facebook #HttpCode500 #Iframe

Since a few days I have seen several of my clients websites, our business website and even my own personal website starting to show blank space where the Facebook Like Box iframe used to be.

Here's an example of the Facebook iframe code I'm using:

<iframe src="http://www.facebook.com/plugins/likebox.php?id=140736345955440&width=296&connections=15&stream=no&header=no&height=325" scrolling="no" frameborder="0" style="margin:-1px 0 0 -1px;border:none; overflow:hidden; width:296px; height:325px;" allowtransparency="true"></iframe>


This code worked before but suddenly the iframe URL returns a 500 Internal Server Error from Facebook. Why is the iframe breaking and reporting 500 error?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Bethany197

2 Comments

Sorted by latest first Latest Oldest Best

 

@Shelton105

Looking further into this, it seems more likely to be that Facebook now requires that Like Boxes include the "new" URL parameter href, that points to the website's Facebook Page. Previously, the Facebook Page ID was sufficient.

10% popularity Vote Up Vote Down


 

@Shelley277

I experimented a little, and the reason for the 500 Internal Server Error seems to be that the ampersands (&) in the URL has to be URL escaped into &amp;. This is new behaviour from Facebook, and honestly seems like a bug.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme