JS send message to channel?

48 views
Skip to first unread message

ben.s...@mail.com

unread,
Aug 17, 2012, 11:00:10 PM8/17/12
to justintv-ap...@googlegroups.com
Hi, I'm looking into the twitch/justin api, I want to try create a little test - much like a bot.

However, I've run into a brick wall. From here I do not know where to go any further.

I want to get the process (a few hosted html files using javascript and redirects) to authenticate my user, then post some predefined messages on a particular channel.

I got to the point where I can reliable retrieve the access_token, but the send_message post isn't doing anything - and a redirect only directs to 403: Forbidden.

Fearing this is more of a gross misunderstanding of what is happening - does anyone have some basic javascript/html source for a basic bot that'd authenticate the user and then send a message to a particular channel. As I don't know what to try next.

Thanks for any help that can be given.

Kim

unread,
Aug 18, 2012, 5:14:56 AM8/18/12
to justintv-ap...@googlegroups.com
Unfortunately send_message doesn't work. It hasn't ever worked I think. Just hoping they will add something like it to the new API, as you can do some pretty neat things with it.


--
You received this message because you are subscribed to the Google Groups "Justin.tv API Developers" group.
To post to this group, send email to justintv-ap...@googlegroups.com.
To unsubscribe from this group, send email to justintv-api-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/justintv-api-developers/-/sZIH0EpEi4wJ.
For more options, visit https://groups.google.com/groups/opt_out.



Mike Ossareh

unread,
Aug 19, 2012, 6:17:42 AM8/19/12
to justintv-ap...@googlegroups.com
We're working on an HTTP API to our chat service, it'll be fully featured and highly supported.

Thanks for your patience as we deal with deprecating old ones and ramping up new better ones. The work will be worth it.
Reply all
Reply to author
Forward
0 new messages