Free Stream Notifications (Twitch, Paypal, Patreon)

Free Free Stream Notifications (Twitch, Paypal, Patreon)

Bamse

Member
roger that.

I've spoken to some friends and some random forum users but also viewers and they've becoming kinda fed up with Twitch atm, and how not being a partner affects their streams in the form of loosing viewers etc.
Amongs other topics we've spoken about me using FSN and the question came up if it works with hitbox.tv. Unfortunately I had to tell them no :)
Are there any future plans on adding support for folllowers or subs on hitbox.tv?
Their API looks a bit lacking to say the least; http://developers.hitbox.tv/ but it seems like they atleast got a separate resource for followers here: http://developers.hitbox.tv/followers
 

BobDev

Member
roger that.

I've spoken to some friends and some random forum users but also viewers and they've becoming kinda fed up with Twitch atm, and how not being a partner affects their streams in the form of loosing viewers etc.
Amongs other topics we've spoken about me using FSN and the question came up if it works with hitbox.tv. Unfortunately I had to tell them no :)
Are there any future plans on adding support for folllowers or subs on hitbox.tv?
Their API looks a bit lacking to say the least; http://developers.hitbox.tv/ but it seems like they atleast got a separate resource for followers here: http://developers.hitbox.tv/followers
Well the follower single notification page is implemented, link can be found in wizard - but you still need to login with twitch :)
As for other feature like hitbox login, sub notifications and allInOne page with notification list - well that will need to wait.
The fact that they dont update their API is mindbogglingly, I asked hitbox for sub API and they told me to go to redit, they apparently have section dedicated to figuring out how to hack around API limitations - that is just ridiculous. At first glance my conclusion was that it will take crazy amount of time to figure it out because for some reason no one is adding any simple examples and you basically need to read through subredit to find anything.

I would love to implement all of it but the problem is time. I try to code for 2,3h after I'm back from work but it is not always possible. I want to focus on re-writing the code and fixing current issues, that prevent me from finishing stuff (that I promised to do like the editor).
Fixing the current code is important because it got so big that I need to make it clean and easy to add new stuff in the future. It will also make adding hitbox support easier, if I will add it at some point.
I wasnt considering all that in past because FSN was just small html+js page but it grew (based on suggestions from users).

I also would like to make features that we already have (and nobody is using those) to be better, like break screen.
I also would like to make the notifications style better, maybe some styles to choose form.

So all that will take time, when that is done I will consider implementing full hitbox support.
my initial plan is to do what I'm doing now and the estimate is 2 months max.
Then I will switch and start improving current features 1 month.
Then we can talk about hitbox :)
 

Bamse

Member
Oh yeah, I totally meant that in a "is it even on the horizon"-kind of way. I totally get your priorities and agree with them 100% :)

It's so wierd that hitbox are acting that way regarding their API, it's one of the main things that will get you a good community ... apart from the actual videostream itself ofc. But, that is way off topic :)

Again, thank you for your work ... it's an excellent tool! :D
 

BobDev

Member
I did a quick research and some good soul has documented their API (twitch style) - https://github.com/Hitakashi/Hitbox-API
compare this and what they have on hitbox web page, I agree with you Bamse it so stupid for Hitbox to not do this.

I guess I dont have any excuse now :)
I will add this to middle of my priority list
 

BobDev

Member
Oh yeah, I totally meant that in a "is it even on the horizon"-kind of way. I totally get your priorities and agree with them 100% :)

It's so wierd that hitbox are acting that way regarding their API, it's one of the main things that will get you a good community ... apart from the actual videostream itself ofc. But, that is way off topic :)

Again, thank you for your work ... it's an excellent tool! :D
BTW I dont watch hitbox do they have the in chat notification there, I'm asking because working with chat seems a bit more complicated than in twitch

[EDIT] never mind - they do, ok now I have my battle plan and hopefully somewhere next month I maybe will start working on this:)
 
Last edited:

BobDev

Member
New version FSN v1.073

Patreon changed the way user is loging in into the portal, patreon notifications did not work, this fix will solve the authentication problem
 
FSN v1.072 is up

So I implemented very simple chat bot and now I'm able to get sub and resub notifications from chat.

New version is up, go check it out.
You need to set this in wizard config:
View attachment 6420
Amazing stuff, I'll have a look at this ASAP! :D

Is there a way to display the number of months in a row using some sort of variable or would that require more work? Either way, great job getting this up so fast.
 
Last edited:

BobDev

Member
Amazing stuff, I'll have a look at this ASAP! :D

Is there a way to display the number of months in a row using some sort of variable or would that require more work? Either way, great job getting this up so fast.
The number will show up in the list, it will be added to the resub suffix, example if suffix is "RESUB" then it will be : "RESSUB x2"
 

BobDev

Member
FSN v1.074 - chat bots authentication expired, probably because of the twitch hack (duno) - if you want to use the bot please update
 
Last edited:

BobDev

Member
I just noticed I uploaded incorrect version to the web page.

If you donwloaded 1.074 yesterday please re-download, fixed version is up.
Yesterday you downloaded beta version I'm working on and it is not working:) so please re-download it

[EDIT] Never mind it seems my chrome is for some reason remembering old session, but if it wont work for you then you know what to do, just in case I uploaded new version to the server
 
Last edited:
I've noticed something while using the FSN on an openshift server. It tends to stop working after one streaming session and I need to grab a new allInOne link to make it work again. Is there anyway around this or does this have to be done everytime? Also, does this issue apply to the localhost method as well?

*Edit* The issue seems to be with donations not appearing while subs are working normally. Usually takes 1 or 2 tries with a new access token to get donations working again.
 
Last edited:

BobDev

Member
I've noticed something while using the FSN on an openshift server. It tends to stop working after one streaming session and I need to grab a new allInOne link to make it work again. Is there anyway around this or does this have to be done everytime? Also, does this issue apply to the localhost method as well?

*Edit* The issue seems to be with donations not appearing while subs are working normally. Usually takes 1 or 2 tries with a new access token to get donations working again.
That is little weird since all features use the same authentication code so if subs work donations should to.

Generally token changes when you log-out out of twitch or log-out out of dashboard and log-in again.
But AllInOne page should be able to recognize up to one old token and synchronize with dashboard for new one.
So as long you did not change tokens to often you should be able to reuse the AllInOne link in obs.

Ill try to reproduce it, if I find something I will fix it.
 
Hey Bob

I wanted to check in. I recently got a new PC and reinstalled FSN. I thought I had the Patreon alert working again, and it works with the test, and as well as non test (when I go live in OBS)

The issue seems to be now that its not alerting when someone actually subs on Patreon. Like I said, it works with tests etc, and my Patreon custom alert works when I force it, but the auto alert when something changes on Patreon isnt working.

Anything I can do to troubleshoot this?
 

BobDev

Member
Hey Bob

I wanted to check in. I recently got a new PC and reinstalled FSN. I thought I had the Patreon alert working again, and it works with the test, and as well as non test (when I go live in OBS)

The issue seems to be now that its not alerting when someone actually subs on Patreon. Like I said, it works with tests etc, and my Patreon custom alert works when I force it, but the auto alert when something changes on Patreon isnt working.

Anything I can do to troubleshoot this?
I will try to check this tomorrow but in general if the interval is set it should call the fetch function and display the notification.

One thing is if the test1 is part of your url in OBS it wont use the interval to call the fetch periodically it will only be called once on load so make sure you dont have it in obs.

I'll try to test it out
 

blzvt3

New Member
Hello Bob!
I go through the this video and everything was fine but when i click "Connect With Twitch" button nothing happens (address bar have a error - see screenshot). Help me please.
 

Attachments

  • FSN.png
    FSN.png
    102.3 KB · Views: 34

blzvt3

New Member
Modern browsers add "/" to the url
The URL should be without the "/"
Go to http://www.twitch.tv/settings/connections
and edit the FSN connection and fix the URL there, save and it should work
Thank you very much! All works.
One more question: should i follow this README description or paypal funtion is running already?
- If you plan to use paypal running FSN locally:
- run start.bat like this "start.bat YOURLOCALIPORIP YOURPORT" where YOURLOCALIPORIP is the IP you will use i.e "start.bat 192.168.1.12 8080"
 

BobDev

Member
Thank you very much! All works.
One more question: should i follow this README description or paypal funtion is running already?
- If you plan to use paypal running FSN locally:
- run start.bat like this "start.bat YOURLOCALIPORIP YOURPORT" where YOURLOCALIPORIP is the IP you will use i.e "start.bat 192.168.1.12 8080"
By default it will use localhost and default port, I think if you set port forwarding correctly paypal still will work.

I would strongly recommend to deploy FSN to a server, paypal setup is complicated and you need service like duckdns or some other similar service to mask your PC IP from people and you also need to have access to router or have possibility to set port forwarding.

If you deploy to a server, you dont need to manually run start bat and paypal setup is rather easy, you only need to provide email and button link in configuration wizard (not to mention FSN is running on a server)
so it is possible to run paypal locally but the disadvantages are not worth the work you put into it.
 

blzvt3

New Member
By default it will use localhost and default port, I think if you set port forwarding correctly paypal still will work.

I would strongly recommend to deploy FSN to a server, paypal setup is complicated and you need service like duckdns or some other similar service to mask your PC IP from people and you also need to have access to router or have possibility to set port forwarding.

If you deploy to a server, you dont need to manually run start bat and paypal setup is rather easy, you only need to provide email and button link in configuration wizard (not to mention FSN is running on a server)
so it is possible to run paypal locally but the disadvantages are not worth the work you put into it.
Big thanx for your fast answers and all of your work! I will try to deploy FSN to a server.
 
Top