Categories: Entertainment

Which celebrity has the most followers on Instagram? You can guess it!

Sergio Minnig

We all know that Instagram is very important for stars and starlets these days. But do you know which celebrity actually has how many followers? You can prove that today. We show you who they are famous and you can estimate how many people follow them on Instagram.

Tip: Don’t be misled by the large range!

“; questionContent += “

” + `` + `` + `` + “
” + lessLabel + “” + moreLabel + “

” + “” + “

`; reviewQuestions[idx].innerHTML = queryContent; } // Update value in text element var allSliders = document.getElementsByClassName(‘questionSlider’); Array.prototype.forEach.call(allSliders, function (slider) { // Loop over each element to attach the .oninput function slider.oninput = function (event) { var idx = slider.getAttribute(‘idx’); // now update according to span document.getElementById(‘r’ + idx + ‘-my’).innerHTML = Math.round(this.value).toString().replace(/B(?=(d{3 })+ (?!d))/g, “‘”); } }); back reviewQuestions; } const roundStartMean = Math.round(((min + max) / 2) * 100) / 100; for (var idx = 0; idx[idx][5] = roundedStartAverage; } imageUrls = []; averageUrls = []; for (var idx = 0; idx < questionList.length; idx++) { var id = questionList[idx][3].split("https://www.watson.ch/").pop(); var picutreUrl = "https://www.watson.ch/api/2.0/images/" + id; pictureUrls.push(picutreUrl); cleanKey = questionList[idx][0].replace(/[^a-zA-Z0-9]/g, ""); var key = "slider-quiz" + projectId.toString() + "-" + cleanKey; var apiUrlWatsonMean = "https://www.watson.ch/api/2.0/key-values/" + key + "/histogram"; averageUrls.push(apiUrlWatsonMean); } Promise.all( pictureUrls.map(url =>
fetch(url) .then(response => response.json()) .catch(error => console.error(error)) ) ) .then(data => { console.log(data); for (var idx = 0; ID < data.length; idx++) { if (questionList[idx][4] != "") { questionList[idx][4] = "Bild: " + questionList[idx][4]; } else { if (data[idx].data.source != null && data[idx].data.source != "") { var pictureCredit = "Bild: " + data[idx].data.source; questionList[idx][4] = pictureCredit; } else { questionList[idx][4] = ""; } } } reviewQuestions = createQuestionContent(reviewQuestions) }) .catch(error => console.error(‘image’, error)); Promise.all( AverageUrls.map(url => fetch(url) .then(response => response.json()) .catch(error => console.error(error)) ) ) .then(data => { / / loop over data for (var idx = 0; idx[idx].facts); const values ​​= Object.values(data[idx].facts); if (keys.length != 0) { // transform keys to numbers for (let i = 0; i < key.length; i++) { keys[i] = parseInt(keys[i]); } let sum = 0; for (let i = 0; i < keys.length; i++) { sum += keys[i] * values[i]; } average = sum / values.reduce((acc, curr) => acc + current, 0); average = Math.round(average * 100) / 100; questionList[idx][5] = average; questionList[idx][6] = keys; questionList[idx][7] = values; reviewQuestions = createQuestionContent(reviewQuestions) } } // create a copy of question list var question listCopy = question list.slice(0); // sort the queryList by the average queryListCopy.sort(function (a, b) { return b[5] – A[5]; }); }) .catch(error => console.error(error)); var reviewQuestions = document.getElementsByClassName(‘reviewQuestion’); if (reviewQuestions.length != QuestionList.length) { console.log(“questionList must be the same length as the number of divs (list: ” + QuestionList.length + “, divs: ” + reviewQuestions.length + “)! “) } reviewQuestions = createQuestionContent(reviewQuestions) function sendData(questionId, noReview = false) { cleanKey = questionId.replace(/[^a-zA-Z0-9]/G, “”); // find questionId in questionList with cleanKey for (var idx = 0; idx < questionList.length; idx++) { if (questionList[idx][0].replace(/[^a-zA-Z0-9]/g, "") == cleanKey) { questionId = idx; break; } } let dataToSend = { 'questionId': cleanKey, 'version': 0.9, 'projectId': projectId }; if (noReview) { // just get the mean dataToSend['userInput'] = null; document.querySelector("#r" + cleanKey + "-my").innerHTML = "-"; } else { // send my review let valSlider = document.querySelector("#s" + cleanKey + "-slider-input").value; dataToSend['userInput'] = parseFloat(valSlider); const key = "slider-quiz" + projectId.toString() + "-" + cleanKey; const jwt_token = localStorage.getItem("jwt_token"); const jwt_free_token = localStorage.getItem("jwt_free_token"); const user_id = localStorage.getItem("user_id"); let value if (user_id) { value = { user: user_id, value: dataToSend['userInput'] }; } else { value = { user: jwt_free_token, value: dataToSend['userInput'] }; } let optionen = { method: 'post', body: JSON.stringify(dataToSend) }; fetch(`https://www.watson.ch/api/2.0/key-values/${key}`, { method: "POST", headers: { "Content-Type": "application/json", "Authorization": `Bearer ${jwt_free_token}` }, body: JSON.stringify(value) }) .then(response => response.json()) .catch(error => console.error(error)); } document.querySelector(“#r” + cleanKey + “-wtsn”).innerHTML = Math.round(query[questionId][5]).toString().replace(/B(?=(d{3})+(?!d))/g, “‘”) document.querySelector(“#r” + cleanKey + “-co2 “).innerHTML = Math.round(questionnaire[questionId][1]).toString().replace(/B(?=(d{3})+(?!d))/g, “‘”) solutionsSlider = document.getElementById(“s” + cleanKey + “- slider solution”) solutionSlider.style.display = ‘block’; SolutionSlider.value = questionsList[questionId][1]; meanSlider = document.getElementById(“s” + cleanKey + “-slider-watson-mean”) meanSlider.style.display = ‘block’; meanSlider.value = questionnaire[questionId][5] * 100; document.querySelector(“#btnRate-” + cleanKey).disabled = true; document.querySelector(“#btnView-” + cleanKey).disabled = true; document.querySelector(“#s” + cleanKey + “-slider-input”).disabled = true; }

Sergio Minnig

Source: Watson

Share
Published by
Malan

Recent Posts

Terror suspect Chechen ‘hanged himself’ in Russian custody Egyptian President al-Sisi has been sworn in for a third term

On the same day of the terrorist attack on the Krokus City Hall in Moscow,…

1 year ago

Locals demand tourist tax for Tenerife: “Like a cancer consuming the island”

class="sc-cffd1e67-0 iQNQmc">1/4Residents of Tenerife have had enough of noisy and dirty tourists.It's too loud, the…

1 year ago

Agreement reached: this is how much Tuchel will receive for his departure from Bayern

class="sc-cffd1e67-0 iQNQmc">1/7Packing his things in Munich in the summer: Thomas Tuchel.After just over a year,…

1 year ago

Worst earthquake in 25 years in Taiwan +++ Number of deaths increased Is Russia running out of tanks? Now ‘Chinese coffins’ are used

At least seven people have been killed and 57 injured in severe earthquakes in the…

1 year ago

Now the moon should also have its own time (and its own clocks). These 11 photos and videos show just how intense the Taiwan earthquake was

The American space agency NASA would establish a uniform lunar time on behalf of the…

1 year ago

This is how the Swiss experienced the earthquake in Taiwan: “I saw a crack in the wall”

class="sc-cffd1e67-0 iQNQmc">1/8Bode Obwegeser was surprised by the earthquake while he was sleeping. “It was a…

1 year ago