How to fix
Error parsing XML, line 884, column 64:
The reference to entity "version" must end with the ';' delimiter.
However, when I try inserting the Javascript SDK:
The following error comes up:
Error parsing XML, line 884, column 64: The reference to entity "version" must end with the ';' delimiter.
How to fix the error?
Change the code with bellow codes
<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.3";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
/* ]]> */
</script>
I have tried and its work
No comments:
Post a Comment