XF 1.5 Where is the best place to put the facebook SDK script?

tribedude

Active member
#1
They say to put it after the <body> section. Is there a place in the Admin CP that I can insert this code? Or do I put it in a template? If in a template, which one do I use so it is available on every page?
 

tribedude

Active member
#3
I guess the page_container_js_body would be the best place to put that facebook SDK... But there already seems to be a line there about it in the template... SHould my facebook SDK go before this? After this? Under " // Facebook Javascrpt SDK "?


 
Last edited:

tribedude

Active member
#4
Or, do I even need to put the facebook SDK script on each page in order for the board to accept fb logins and to draw an image from the board when a user shares a post to facebook...
 

Mike

XenForo developer
Staff member
#5
If FB logins are enabled or a video is embedded from Facebook, we include the SDK automatically.
 
Top