175
rated 0 times
[
178]
[
3]
/ answers: 1 / hits: 5078
/ 10 Years ago, sat, may 10, 2014, 12:00:00
Am trying to add facebook login to my website using javascript SDK.
<script>(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&appId=1502856099942926&version=v2.0;
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
When I add the above code and save it to my website code, am getting the error:
Error parsing XML, line 337, column 62: The reference to entity appId must end with the ';' delimiter.
How to get rid of this error?
More From » facebook