Campagne en cours

This email address is being protected from spambots. You need JavaScript enabled to view it.

Partenaires

Comité Départemental Olympique et Sportif 44

Au service du Sport de tous les sports !

Ensemble développons le sport

Restez en contact

CDOS 44

loireatlantique@franceolympique.com

http://www.cdos44.fr

02-40-58-61-29

CDOS44

Posts Récents

const initCarte = () => { let myRequestNews = new XMLHttpRequest(); myRequestNews.open('GET','https://graph.facebook.com/{page ID}/posts/?fields=description,link,picture,full_picture,message&limit=15&access_token={Clé API}'); myRequestNews.onreadystatechange = function () { if(myRequestNews.readyState === 4) { let news = JSON.parse(myRequestNews.responseText); let NewsList = '
'; for(var i = 0; i < 4; i++) { NewsList NewsList += '
'; NewsList += '
'; NewsList += '

' + carte[y].name + '

'; NewsList += '
'; NewsList += '
' } } NewsList += '
'; document.getElementById('news').innerHTML = NewsList; } }; myRequestNews.send(); }