- Code: Select all
<!-- Facebook SDK -->
<div id='fb-root'></div>
<script type='text/javascript'>
// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = '//connect.facebook.net/es_ES/all.js';
d.getElementsByTagName('head')[0].appendChild(js);
}(document));
</script>
<!-- End Facebook SDK -->
I need to replace all that with this new SDK version:
- Code: Select all
<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/es_LA/sdk.js#xfbml=1&appId=376555629176896&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
Can't find the place in the code where this code is inserted.