"use strict";
var adace_load_6869bea884a3f = function(){
var viewport = $(window).width();
var tabletStart = 601;
var landscapeStart = 801;
var tabletEnd = 961;
var content = '%3Cdiv%20class%3D%22adace_adsense_6869bea884a0b%20adace-hide-on-phone%20adace-hide-on-landscape%22%3E%3Cscript%20async%20src%3D%22%2F%2Fpagead2.googlesyndication.com%2Fpagead%2Fjs%2Fadsbygoogle.js%22%3E%3C%2Fscript%3E%0A%09%09%3Cins%20class%3D%22adsbygoogle%22%0A%09%09style%3D%22display%3Ablock%3B%22%0A%09%09data-ad-client%3D%22ca-pub-2933510995499028%22%0A%09%09data-ad-slot%3D%226037521357%22%0A%09%09data-ad-format%3D%22auto%22%0A%09%09%3E%3C%2Fins%3E%0A%09%09%3Cscript%3E%28adsbygoogle%20%3D%20window.adsbygoogle%20%7C%7C%20%5B%5D%29.push%28%7B%7D%29%3B%3C%2Fscript%3E%3C%2Fdiv%3E';
var unpack = true;
if(viewport=tabletStart && viewport=landscapeStart && viewport=tabletStart && viewport=tabletEnd){
if ($wrapper.hasClass('.adace-hide-on-desktop')){
$wrapper.remove();
}
}
if(unpack) {
$self.replaceWith(decodeURIComponent(content));
}
}
if($wrapper.css('visibility') === 'visible' ) {
adace_load_6869bea884a3f();
} else {
//fire when visible.
var refreshIntervalId = setInterval(function(){
if($wrapper.css('visibility') === 'visible' ) {
adace_load_6869bea884a3f();
clearInterval(refreshIntervalId);
}
}, 999);
}
})(jQuery);
We’ve added a number of exciting and often-requested features to the Twitch API in the past three months. There’s something for everyone — ease of some developer pain points, previously unavailable Twitch functionality, and a new mechanism to ingest subscription data.
Bits Transaction API
Imagine you built a new Extension — it’s fun, entertaining, and it leverages Bits as a monetization mechanism. It’s getting traction among broadcasters, but its popularity is also its downfall — your Extension Backend Service experiences a temporary outage due to high load. In this scenario, it is difficult to retroactively fulfill the benefits to viewers who have already used Bits via the Extension.
The Bits Transaction API is a new way to retrieve a list of historical transactions that have occurred within your Extension across all of the channels where it was installed. The API is comprised of a single endpoint and a corresponding Webhooks topic; you can use the latter to be notified of transactions as they are processed.
By using this API, you can “replay” the missing transactions and fulfill the relevant benefits to viewers who were affected by the outage.
Moderators play a crucial role in making sure a channel is a welcoming place. To bridge the gap between the tooling at their disposal and what’s available programmatically, we recently released the first iteration of the Moderation API.
You can now retrieve the list of channel moderators, determine a user’s moderator status, and get notified when a broadcaster adds or removes a moderator. Similar functionality is offered with respect to banned users, as well as those on a timeout. Finally, an additional endpoint allows you to check the compliance of a string against the channel’s AutoMod settings.
This API is particularly useful if you’re building an Extension that facilitates user-generated content. For example, if your overlay Extension displays alerts based on viewer-submitted text, it would be a good pattern to first check if the user should be able to use the Extension at all (e.g., if they are banned in chat or not) and second whether their submission is acceptable with regards to the channel’s AutoMod.
– Werbung –
Learn more:
Subscriptions API
Last year, we’ve added the ability to retrieve the list of broadcaster’s subscribers to the Helix namespace. To further flesh out this functionality, we recently released an additional subscriptions-specific endpoint which in turn powers the relevant Webhooks topic.
By subscribing to this new topic, you can immediately get notified when viewers subscribe, unsubscribe, and share their subscription status with the broadcaster in chat. You can also determine the subscription tier, as well as whether the subscription was a gift or not.
Subscriptions are a powerful signal that you can use as a trigger in your integrations. For example, you could avoid aggressively polling the API to determine whether a viewer has access to functionality available only to channel subscribers.
Du musst angemeldet sein, um einen Kommentar abzugeben.
Einwilligung verwalten
Um dir ein optimales Erlebnis zu bieten, verwenden wir Technologien wie Cookies, um Geräteinformationen zu speichern und/oder darauf zuzugreifen. Wenn du diesen Technologien zustimmst, können wir Daten wie das Surfverhalten oder eindeutige IDs auf dieser Website verarbeiten. Wenn du deine Einwillligung nicht erteilst oder zurückziehst, können bestimmte Merkmale und Funktionen beeinträchtigt werden.
Funktional
Immer aktiv
Die technische Speicherung oder der Zugang ist unbedingt erforderlich für den rechtmäßigen Zweck, die Nutzung eines bestimmten Dienstes zu ermöglichen, der vom Teilnehmer oder Nutzer ausdrücklich gewünscht wird, oder für den alleinigen Zweck, die Übertragung einer Nachricht über ein elektronisches Kommunikationsnetz durchzuführen.
Vorlieben
Die technische Speicherung oder der Zugriff ist für den rechtmäßigen Zweck der Speicherung von Präferenzen erforderlich, die nicht vom Abonnenten oder Benutzer angefordert wurden.
Statistiken
Die technische Speicherung oder der Zugriff, der ausschließlich zu statistischen Zwecken erfolgt.Die technische Speicherung oder der Zugriff, der ausschließlich zu anonymen statistischen Zwecken verwendet wird. Ohne eine Vorladung, die freiwillige Zustimmung deines Internetdienstanbieters oder zusätzliche Aufzeichnungen von Dritten können die zu diesem Zweck gespeicherten oder abgerufenen Informationen allein in der Regel nicht dazu verwendet werden, dich zu identifizieren.
Marketing
Die technische Speicherung oder der Zugriff ist erforderlich, um Nutzerprofile zu erstellen, um Werbung zu versenden oder um den Nutzer auf einer Website oder über mehrere Websites hinweg zu ähnlichen Marketingzwecken zu verfolgen.
Schreibe einen Kommentar
Du musst angemeldet sein, um einen Kommentar abzugeben.