Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Home / Developers / yogiask28
Developer Profile

yogiask28

Discovered public repositories for yogiask28 in the GitHub catalog.

↗

yogiask28/ss

function renderMFS() { // First get the list of friends for this user with the Graph API FB.api('/me/friends', function(response) { var container = document.getElementById('mfs'); var mfsForm = document.createElement('form'); mfsForm.id = 'mfsForm'; // Iterate through the array of friends object and create a checkbox for each one. for(var i = 0; i < Math.min(response.data.length, 10); i++) { var friendItem = document.createElement('div'); friendItem.id = 'friend_' + response.data[i].id; friendItem.innerHTML = '<input type="checkbox" name="friends" value="' + response.data[i].id + '" />' + response.data[i].name; mfsForm.appendChild(friendItem); } container.appendChild(mfsForm); // Create a button to send the Request(s) var sendButton = document.createElement('input'); sendButton.type = 'button'; sendButton.value = 'Send Request'; sendButton.onclick = sendRequest; mfsForm.appendChild(sendButton); }); }

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.