This post will shared about “Error parsing XML : The reference to entity “version” must end with the ‘;’ delimiter”. Since 5 hours ago, i’ll trying to put facebook like button or box into my blog, then what happen? on my blog show notification message error parsing xml.
And i try to add this code like this;
1
<div id="fb-root"></div><script>/* <![CDATA[ */ (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/sdk.js#xfbml=1&version=v2.5"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));/* ]]> */</script>
note: for fixing error parsing xml, add this code which i block with red colour.
And see again your blog,
If you want add facebook like box, you must copy paste the above code and put into tag </body> and also put this script:
1
<div class="fb-like" data-href="https://facebook.com/Tuxnoobdotcom/" data-layout="standard" data-action="like" data-show-faces="false" data-share="true"></div>
note: For script which i coloured with blue, change your url facebook.
And now my facebook like button has showing under my blog post.
Thanks, Have fun!