Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers 2

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.

share|improve this answer
add comment

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.

share|improve this answer
    
What do you mean by a website's Facebook page? I thought the href argument is suppose to be the page that you like? –  AlxVallejo May 30 '13 at 19:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.