Free Stream Notifications (Twitch, Paypal, Patreon)

Free Free Stream Notifications (Twitch, Paypal, Patreon)

BobDev

Member
Appreciate it Bob.

Yeah this is very unique the way you have it setup. Now Paypal also offers subscription base as well. I seen it on twitchalerts forum about someone asking them if they could link it when someone subscribed, but apparently 'they couldnt.'
The whole paypal notification is based on donation buttons + ipn API and the subscribtion and recurring payments are part of some other SDK that paypal created, I assume it is not possible because it is some other SDK and it is not part of how donations work - I didn't read about it though but looks like that is the reason.

In other hand you can actually have recurring donations but I think it is not used because you would loose the twitch name and comment that is entered by people who donate (next recurring donation would show up you wouldn't have the twitch name).

I didn't tested it so I don't know if the twitch name is there or not each time the recurring donation is done but it wouldn't have much sense to donate like that, you might not even be in stream chat when this donation hits, the stream might not even be live.

[Edit] As I wrote this I actually checked and apparently you can create subscription button now - I dont know if it works the same way as donation button but I stand by what I wrote, it wouldn't have much sense to donate like this and it I'm not sure if the comment and twitch name would be re-added each month (if it works the same way as donation button)
What was the twitchalert reasoning for not having this?
 
Last edited:

BobDev

Member
Here's the thread Bob, only 10 comments

http://community.twitchalerts.com/t/non-twitch-sub-button-alert/6385/7

"

JAMACANBACN
TwitchAlerts Support
2d
I asked the dev about it last night and he said he had planned for an idea like this long ago. However the problem is we do not "read" the payments we only "facilitate" them. So we can't really pick it up sadly. I am sorry there is not much we can do for you regarding this : (

"
In the next post he wrote that they cant get the sub information so he spoke about the other SDK - it is as I thought.
If we are talking about sub paypal button then it is maybe possible (dont know about twitch name being lost and I dont know if this is what you are after) - someone also wrote that such button only redirects you to subscription page so yeah maybe it is possible maybe it is not.

That said I dont see any point in such donations, you would need to hope the streamer is live next month at the same exact time, in my mind the whole concept is to have that interaction live, you donating and streamer thanking for support.
 

jeremy

Member
Very true Bob.

Love the way it setup at moment, working flawless. (Had 6 subs tonight) The only thing is the names not showing, other than that it's an awesome tool you've made.
 

BobDev

Member
Ok, jeremy you will be my guinea pig :)

Replace patreon.html from your FSN.jar/public folder with this one (patreon.zip below)
It will display names and the specific amount that each patron has pledged.

Everything should work, I've been testing it for 2 hours now and it seems ok but if you notice any problems let me know.
If everything will work then I will upload it to the app for everyone to download.
 

Attachments

  • patreon.zip
    3.3 KB · Views: 16

jeremy

Member
Well, I think I did it right even tho when I do the test it still shows the same. (Perhaps the test won't do it)
 
Last edited:

jeremy

Member
Okay I did notice test works, but test one doesn't come through? I switch back to old file and test1 comes through with my amount and stuff?
 

BobDev

Member
Okay I did notice test works, but test one doesn't come through? I switch back to old file and test1 comes through with my amount and stuff?
give me 10 minutes, I must have broke the test1, but the real notification itself should work
 

BobDev

Member
Still nothing with that either..strangely o.0
really?
Try to open it in chrome and firefox and hit Ctrl+Shift+I or Ctrl+Shift+K in firefox and see if there are any errors in console
[Edit] maybe it is a matter of restarting obs, or it is something else entirely but if it still wont work then lets move this conversation to mails, send me a message via my web page http://bobdev-fsnconcept.rhcloud.com/#CONTACT
 
Last edited:

jeremy

Member
In chrome it gives me this -

error.jpg
 

BobDev

Member
Twitch just revamped their chat, so the resub notifications won't work until that gets patched.
Do you know this for a fact, because as far I know IRC chat is still supported and will be in the future.
New html5 chat is using websocket but that does not mean anything for us, IRC is still in play.

Or do you mean that they disabled the notification button in chat, did they idk?
What I can say about new chat is that it loads for me I can see it moving but I cant write anyuthing there at all, the chat is behind spinning wheel and this is my experience with new twitch chat.

I will try to do some testing tomorrow, maybe I will visit some big twitch streamers and see what is going on with resub notifications. One thing I need to check is if they change any IRC requirements but as far I'm concerned everything should work.

[Edit] Tested it and everything seems to work, new subs are showing, re subs too
 
Last edited:
Do you know this for a fact, because as far I know IRC chat is still supported and will be in the future.
New html5 chat is using websocket but that does not mean anything for us, IRC is still in play.

Or do you mean that they disabled the notification button in chat, did they idk?
What I can say about new chat is that it loads for me I can see it moving but I cant write anyuthing there at all, the chat is behind spinning wheel and this is my experience with new twitch chat.

I will try to do some testing tomorrow, maybe I will visit some big twitch streamers and see what is going on with resub notifications. One thing I need to check is if they change any IRC requirements but as far I'm concerned everything should work.

[Edit] Tested it and everything seems to work, new subs are showing, re subs too
It's quite possible that Twitch broke everything as always when the update rolled out. :P All the chat bots stopped working for about a day. Glad to see no changes are required on your end!
 

Bamse

Member
hi again, long time user and fan and all that :)

I've ran into a little issue, or at least an unintentional feature ;)
I'm running my solution locally and as soon as I activate my resub bot and it joins the channel, java starts taking 100% of one of my CPU-cores. This no matter if I even start OBS or not, the millisecond it joins the channel CPU-usage goes haywire. This is not a real issue for me personally since I'm not partnered, but just wanted to report it.

Not sure what info to give you, but I'm running:
FSN_1.084 (customized only with adding pictures and mp3's. minor css changes is done in CLR browser plugin)
Java (x64) build 1.8.0_45-b14
mongodb version v2.6.5
 

BobDev

Member
hi again, long time user and fan and all that :)

I've ran into a little issue, or at least an unintentional feature ;)
I'm running my solution locally and as soon as I activate my resub bot and it joins the channel, java starts taking 100% of one of my CPU-cores. This no matter if I even start OBS or not, the millisecond it joins the channel CPU-usage goes haywire. This is not a real issue for me personally since I'm not partnered, but just wanted to report it.

Not sure what info to give you, but I'm running:
FSN_1.084 (customized only with adding pictures and mp3's. minor css changes is done in CLR browser plugin)
Java (x64) build 1.8.0_45-b14
mongodb version v2.6.5
Ok, interesting, the chat handling (the notification bit) has its own thread but it shoudnt take 100% cpu.
I'll look into it, I wonder if it is because of html to java request or the IRC java client.

Thx for the info

[Edit] I compile the app with java 1.7045 and as such it is barely using any cpu for me. I connected the bot to some popular streamer to have constant traffic and it stays the same
 
Last edited:

Bamse

Member
copy that!
I'll reinstall java and see if that affects anything, might try java 1.7 and see how that goes.
I'll also try deploying my exact files to openshift and see how it behaves there.
 
Top