Where to add the facebook code?

Kaku Ito created the topic: Where to add the facebook code?

After making the facebook app for web, facebook tells me to put the code above the body, some one told me to paste it in the custom html and place it in the position beyond the body, but the code is not working within the html code area. I paste it but it erases by it self.

The code is like below;

<script>
window.fbAsyncInit = function() {
FB.init({
appId : 'xxxxxxxxxxxx',
xfbml : true,
version : 'v2.2'
});
};

(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";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>

#19041

Please Log in or Create an account to join the conversation.


Support replied the topic: Where to add the facebook code?

Dear Kaku Ito,

If you use our extension, please insert the Application ID and Secret Key, no other details or codes are required to be added. The rest can be set within our extension interface. Thank you.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#19071

Please Log in or Create an account to join the conversation.


Time to create page: 0.128 seconds
Powered by Kunena Forum

WORLD-CLASS SUPPORT

We are here for you every step of the way. Turn to our support with any questions you might have about our products and services. Our experienced customer care team is available to help you as fast as we possibly can.

Contact us