Open Fire- opened 11 years ago
What would you want to build if we had an API for the mail system?
integrating the mailbox into user plugins ( ie: bttv ) , my own website, and a social application I'm working on.
This would be amazing for mailing list...to give weekly updates on your channel, like schedule changes, what you'll be streaming next week, subscriber events.
I have to admit, being able to write a cross-platform app that allows me to keep track of and compose new twitch mail without having to actually log into the website would be fantastic. It would also allow those of us who write twitch IRC integration mods for minecraft to add additional support for the mail system (at the very least: "you've got new mail" alerts).
Only thing I'm worried about is the abuse that can be had with this. Wouldn't be very difficult to write a bot to get a list of users in a channel and then send spam messages to their Twitch Inboxes.
You can already do that by logging in with curl/etc and sending standard requests, though this would lower the effort required by a little bit.
On Wed, May 8, 2013 at 1:39 PM, Kirk Dunlap notifications@github.comwrote:
Only thing I'm worried about is the abuse that can be had with this. Wouldn't be very difficult to write a bot to get a list of users in a channel and then send spam messages to their Twitch Inboxes.
— Reply to this email directly or view it on GitHubhttps://github.com/justintv/Twitch-API/issues/97#issuecomment-17621658 .
Devon Adkisson | Fire Anairo Media Network | Incendiary Media Adkisson Enterprises, LLC TwitchTV Volunteer Support Administrator, Got a problem? Ask about it at help.twitch.tv @IncendiaryMedia http://twitter.com/IncendiaryMedia | About.mehttp://about.me/Fire | Twitch.tv http://twitch.tv/Fire | Anairo.tv http://anairo.tv/ | Southgeek.me http://www.southgeek.me/ | LinkedInhttp://www.linkedin.com/in/incendiarymedia
Long story short, I agree with what has been said, especially mailing lists. User-authorized mailing lists.
Sorry to dig up this 4 month old issue, but I would also LOVE an API for mails. My situation is the following: I am moderator of and bot coder for a Flight Simulator channel, and we're doing lots of multiplayer. However since Gamespy was shut down you can only connect using direct IP, and what's even worse is that the streamer's IP is dynamic and can change multiple times per week!
Everytime the IP changes (or someone new wants to join) it's my duty to either mail the IP to everyone or - which is what we currently do - post it in chat. A horrible solution and we're all rather uncomfortable posting the IP in public like this. If we had a mail API on the other hand, our streamer could just send the bot a mail with his IP, and the bot would forward that to all authorized people.
Also, couldn't you use OAuth to prevent spam? Have one channel authorizing the application to send messages using their name (the bot account in this case) and everyone else can authorize it to send messages to them, and in order to successfully send a message the application must have valid tokens for both the sending and receiving channel(s). If you ever receive spam, you can just revoke the authorization.
Just a thought by someone who doesn't know much about APIs or OAuth...
Iv been looking everywhere to find a way to do something like this. Anyone find a way to do this yes?
I agree. I also am in a situation where I have to distribute an IP to a set of people automatically. For security reasons I can't post the IP in chat. Also, to prevent spam you could make it so the api may only be used 20 times per what-do-i-know...
This would be great now that anti-spam measures are in place.
One of the things I'd personally be using it for would be to automate sending game codes from the streamer's account.
It would be very nice to be able to interact with users via the PM API.
In this case, I would have liked to be able to PM a user when $thing happens. $thing could be a random draw.
Is this still being worked on? I would love to add PM features to a chat bot project of mine.
I would love an API to twitch mail.
I would love for this to be added!
Just adding +1 to be able to interact with twitch mail with the API.
What I'd like to be able to use it for is to send all my new subscribers a welcome message with a downloadable ebook link that I give new subs. As it stands now, I have to just do this manually after every stream. Eventually, I'll probably go the curl rout that Fire- suggests above if the number of new subs becomes unmanageable... not a bad problem to have if it happens.
I'll also add my :+1: to this. It would be a very useful feature to have.
Adding my 👍 to this. It would be very helpful to allow us to send private messages to users to reduce down some of the spam.
It would be fairly useful to interact with the Twitch Mail system via api, with the ability to read and compose messages.