View Single Post
  #1  
Old 07-22-2015, 07:41 AM
 
fiberglass.supply fiberglass.supply is offline
 

Senior Member
  
Join Date: Dec 2012
Location: Florida
Posts: 171
 

Default Facebook SDK and body tag

Using 4.6.6 and ideal responsive template.

Facebook says:

Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.

What template file has the body tag for all pages?


I have to paste the code below right after the body tag

Code:
<div id="fb-root"></div> <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&version=v2.4&appId=myappidgoeshere"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
Reply With Quote