document.addEventListener("DOMContentLoaded", function() { const accessToken = EAASjozbzYPsBO2xe7D2Je2OKkZBzIhvMmaLeTqdyZCeOHzazByONdF91KXEIBE6rVFMpvSB2hslQJew6NhTZAwA4JlIiqnzBgjQqiDFO5WoSKwMbaJZB86WGaKERvVN7YfJRba0AsQ4TMfyAzUpAAAhG6okI8ZCCkyKurjozsBqmyo6it5m4QDfuLAb1lLZAPhmwZDZD; fetch('https://graph.facebook.com/v17.0/me?access_token=' + accessToken) .then(response => response.json()) .then(data => { console.log('Facebook API Response:', data); }) .catch(error => { console.error('Error connecting to Facebook API:', error); }); });

עוד תכנים מהמדיה