Wednesday 17 July 2013

My FaceBook Like Button script has Stopped Working

Have you found that your FaceBook Like Button script has Stopped Working over the last few days?

I spent a little time today to research and work out a fix so that it will work properly for those of you who use HTML4 Strict or find your code is not validating correctly.

HTML code fix

If you do not want the auto PHP code, this is the facebook like button fix for you

PHP code fix

If you do use php to insert your like code, this is the facebook like button fix for you

 
Well, that should keep our pages going for a while!