Host information

ok i am trying to work with this, and I cannot get it to work at all. Is :tmi.twitch.tv HOSTTARGET #hosting_channel <channel> [<number-of-viewers>] the entire message or do I need extra things like an oauth token?

I keep getting Uncaught SyntaxError: Unexpected identifier