social_stream icon indicating copy to clipboard operation
social_stream copied to clipboard

Connect to Streamerbot for incoming chat messages from instagram and facebook

Open miriambrueckner opened this issue 1 year ago • 12 comments

Hi there,

as Streamerbot does not support instagram and facebook chat messages but social stream does I thought it might be possible to connect both to be able to trigger actions in streamerbot with a meassage sent from instagram or facebook. I found this video on how to connect both via http server >> https://www.youtube.com/watch?v=vQPMr93kAWA But I cannot get it to work. I would like to have streamerbot "listen" to social stream and import the messages from social stream to streamerbot to do further things in streamer bot. I have no experience and really would appreciate any help! <3

miriambrueckner avatar May 21 '24 22:05 miriambrueckner

I've had a couple requests for this, so I'll take a look now at it.

steveseguin avatar May 21 '24 22:05 steveseguin

So taking a quick glance at things, getting this working is a tad bit more convoluted than I was expecting; at least based on that video you linked to. There is an HTTP/Websocket server in streamer.bot, but sadly it doesn't seem like it accepts chat messages directly?

Anyways, the method the video you linked to uses a file watcher, which is similar to how OBS/Vmix(?) brings in messages I think. Streamerbot monitors a file for a change, and when there is a change, it reads the contents as JSON. You then need to link the key/value pairs of the JSON to the events/actions you want in Streamerbot.

So far I've managed to configure Streamerbot to ring a bell when a new message is detected, implying Streamerbot did it's job at detecting the file change. The video covers how to parse the JSON data I guess; I haven't gone into that yet though. Just ringing the bell was enough for me so far. I'll need to re-watch the video to understand why the are using the HTTP API.

image

image

image

Either way, if you aren't having any luck with the video's specific instructions, and wish to follow them exactly, perhaps try the Social Stream standalone app, as I noticed Streamerbot was throwing CORS errors at me when I was using the extension-based version when POSTing to Streamerbot. I'm not sure yet if that's my fault or Streamerbot's fault, so I'll try to fix it on my end, but if using the Standalone app, it ignores CORS errors already.

Ideally the Streamerbot devs could add me an API to post to, and then I could just post all the messages to their API with the data structure they defined, as I do for H2R already. It's not really in my wheel house to add such an API to their app, but I'd be happy to customize things on my end as needed to make it work well.

I'll play with it more, but I'm not entirely sure what's possible from my end at the moment to improve things.

steveseguin avatar May 22 '24 03:05 steveseguin

@steveseguin I am sure that people behind streamer.bot have no reasons not to add such a cool addition to their tool. Social Stream is the best chat app for multi streaming, so I see no reason why streamer.bot shouldn't co-op with it. Fingers crossed, I am excited to see that day coming - when streamer.bot and social stream work together. <3

LuckyLootTube avatar May 22 '24 06:05 LuckyLootTube

for sure; streamer.bot is pretty cool with a lot of features, so you're likely right. I'll drop by their Discord sometime and poke around; maybe they have a better solution.

steveseguin avatar May 22 '24 06:05 steveseguin

I cosign this as well. I've been hoping for this integration for awhile

KB1914 avatar May 31 '24 19:05 KB1914

for sure; streamer.bot is pretty cool with a lot of features, so you're likely right. I'll drop by their Discord sometime and poke around; maybe they have a better solution.

Hey Steve, Did you got in touch with the people behind streamer.bot? I am wondering if that's going to be a thing. Because I believe that's going to be huge! <3

LuckyLootTube avatar May 31 '24 23:05 LuckyLootTube

I created this, go like if we can get some movement on this Ideas.StreamerBot @LuckyLootTube @miriambrueckner @steveseguin @jcalado

KB1914 avatar Jun 10 '24 18:06 KB1914

I responded to https://ideas.streamer.bot/posts/1163/integration-with-social-stream-via-api

Thank you

steveseguin avatar Jun 10 '24 19:06 steveseguin

I responded to https://ideas.streamer.bot/posts/1163/integration-with-social-stream-via-api

Thank you

Just saw it. How it helps I think it would be a great addition to social stream and SB.

KB1914 avatar Jun 10 '24 19:06 KB1914

I created this, go like if we can get some movement on this Ideas.StreamerBot @LuckyLootTube @miriambrueckner @steveseguin @jcalado

I've just UPVOTED it and asked my friends to do so as well. Please, ask your friends to UPVOTE as well. I know we can make this happen!!! <3

LuckyLootTube avatar Jul 18 '24 08:07 LuckyLootTube

I responded to https://ideas.streamer.bot/posts/1163/integration-with-social-stream-via-api

Thank you

Looks like there was some movement here from the SB team (Whipstickgostop) mentioning an extension. That was 4 months ago tho. Here anything else from an extension point? @steveseguin

KB1914 avatar Nov 26 '24 11:11 KB1914

I've not seen any activity or progress on this since that post some months ago.

steveseguin avatar Nov 26 '24 11:11 steveseguin