Skip to main content

Bare kom an, FC Fyn Sport Odds 10.50Kramperne blev glemtMlmagisk midtstopperMEST LSTE - LIGE NU Alle i busselskab i chok: Buschauffr slet ned af vred passager Flere fynske VUC-centre er lukningstruede Ejer af udbrndt ivrkstterhus afventer forsikringsselskabs afgrelse Lst inde i konkursbo: Fynboer str uden sommerdk Nygifte: Diskofil sanger fik sin kongelige skuespiller Holch Povlsen-familiens tragedie: Diskretion og sikkerhed var familiens livsvilkr Danmark SENESTE NYT Odense MEST LSTE - LIGE NU Alle i busselskab i chok: Buschauffr slet ned af vred passager Flere fynske VUC-centre er lukningstruede Ejer af udbrndt ivrkstterhus afventer forsikringsselskabs afgrelse Lst inde i konkursbo: Fynboer str uden sommerdk 24-rig amerikaner vinder 5,1 milliard kroner i lotto Nygifte: Diskofil sanger fik sin kongelige skuespiller Sport Kerteminde SENESTE NYT Svendborg Fyn Erhverv Faaborg-Midtfyn Faaborg-Midtfyn Danmark Odense Fyn Odense Odense

betingelser











(function($)
var objectType = "article";
var articleid = "1259747";
// This should be configurable (canonical URL)!
var articleUrl = $('meta[property="og:url"]').attr('content');
var shareClass = "facebookShare";
var disableComments = "0";

window.fbAsyncInit = function()
FB.init(
appId : '179409695476934',
xfbml : true,
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
oauth : true, // enable OAuth 2.0
version : 'v2.8'
);

// Attach events to functions
FB.Event.subscribe('xfbml.render', fb_social_plugins_loaded);
if (objectType == "article" && disableComments == 0)
// Comments event are only available for articles (is the only place where the comment plugin is placed)
FB.Event.subscribe('comment.create', comment_callback_create);
FB.Event.subscribe('comment.remove', comment_callback_remove);
// fired when the user likes something
FB.Event.subscribe('edge.create', edge_create);

;
//////////////////////////////// END OF fbAsyncInit

if (window.attachEvent && !window.addEventListener)
// IE8 and older gives an error.
else
(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/da_DK/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
(document, 'script', 'facebook-jssdk'));


var comment_callback_create = function(response)
// When someone does a comment go to the socialmedia module to update the comment counter
$.post("https://www.fyens.dk/modules/socialmedia/public/request/fb_comment", object_id: articleid, object_type: objectType, href: articleUrl );

if (typeof ga === 'function')
ga('send', 'event', 'Add comment', 'Klik', 'Sport');

;

var comment_callback_remove = function(response)
// When someone deletes a comment go to the socialmedia module to update the comment counter.
// NOTE(IT SEEMS IS NOT THE CASE ON LIVE!): Since facebook has a delay when someone deletes a comment we decrease by one the comment counter on delete
$.post("https://www.fyens.dk/modules/socialmedia/public/request/fb_comment", object_id: articleid, object_type: objectType, href: articleUrl );
;

var edge_create = function(response)
$.post("https://www.fyens.dk/modules/socialmedia/public/request/i_like", id: articleid, type: objectType, url: articleUrl);

if (typeof ga === 'function')
ga('send', 'social', 'Facebook', 'like', articleUrl);

;

function fb_social_plugins_loaded()
// Make the facebook share functionality work with the API
$("." + shareClass).click(function() );

(jQuery))

Popular posts from this blog

Log på Navigationsmenu

Wonderful Copenhagen (sang) Eksterne henvisninger | NavigationsmenurSide på frankloesser.comWonderful Copenhagen

Detroit Tigers Spis treści Historia | Skład zespołu | Sukcesy | Członkowie Baseball Hall of Fame | Zastrzeżone numery | Przypisy | Menu nawigacyjneEncyclopedia of Detroit - Detroit TigersTigers Stadium, Detroit, MITigers Timeline 1900sDetroit Tigers Team History & EncyclopediaTigers Timeline 1910s1935 World Series1945 World Series1945 World Series1984 World SeriesComerica Park, Detroit, MI2006 World Series2012 World SeriesDetroit Tigers 40-Man RosterDetroit Tigers Coaching StaffTigers Hall of FamersTigers Retired Numberse