You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far accessing data in onSessionUpdate worked fine, e.g.
window.addEventListener('onSessionUpdate', function (obj) {
obj.detail.session["subscriber-total"].count; // this is the number of Twitch subscribers
});
However, documented Facebook stats do not work that well
window.addEventListener('onSessionUpdate', function (obj) {
obj.detail.session["supporter-monthl"]; // this is null or undefined
obj.detail.session["supporter-monthl"].count; // consequently getting the count does not work
});
Anything I am doing wrong on my end? Is the documentation accurate?
As an aside, double-checking the docs I also noticed that both Twitch and Facebook followers are documented as
Is it at all possible counting stats for both services in the same overlay? What I am looking for is a widget that provides an aggregate score across streaming services.
The text was updated successfully, but these errors were encountered:
Hello,
I am currently trying to implement a custom widget according to the docs at https://github.com/StreamElements/widgets/blob/master/CustomCode.md.
So far accessing
data
inonSessionUpdate
worked fine, e.g.However, documented Facebook stats do not work that well
Anything I am doing wrong on my end? Is the documentation accurate?
As an aside, double-checking the docs I also noticed that both Twitch and Facebook followers are documented as
Is it at all possible counting stats for both services in the same overlay? What I am looking for is a widget that provides an aggregate score across streaming services.
The text was updated successfully, but these errors were encountered: