Hi there,
I am trying to get FB to display properly when people share from our URL directly into FB. Currently it just pulls our logo. Which is set by default.
The issue (in my opinion) seems to be that I haven’t installed the following code.
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '170084820009460',
xfbml : true,
version : 'v2.11'
});
FB.AppEvents.logPageView();
};
(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 = "https://connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
My dilemma is I am not sure where I need to put this code to active the Facebook App.
For google analytics it was really easy to add, is there a place like that where i need to inser that code to make this all work correctly.
Thanks for your time,
Scott