Are you confused with the error, your template could not be parsed as it is not well-formed by blogger template when adding login script or like box script from Face Book develper page? Today i am going to share an easy way to correct it. This error is frequently seen when adding the character “&” into new blogger templates. This “&” is usually seen when copying login script or like box script from Face book developer page to your blogger template. The original script from Facebook developer page is as follows;
After pasting the script into the template and saving it, you will see this error “Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: The reference to entity “version” must end with the ‘;’ delimiter. OR you will get this error, “Your template could not be parsed as it is not well-formed.
Please make sure all XML elements are closed properly. XML error message: The entity name must immediately follow the ‘&’ in the entity reference”. So to correct this error you should not use “&” as a character in blogger templates when adding scripts but replace “&” to & tag. When using ampersand within an attribute value it should always be written using amp; tag.
The above script is well formed and minified for bloggers to load the website fast. You need to change the red coloured App Id to your app ID. Paste the script after the </body> tag and before the </html> tag.
Update on New Facebook Modified Script 2.9 – No App ID
If you do not have an app ID, copy the following code.