Every github repo I find mentions bots having their own jid/password, where do I get those things? I created an integration and all I can see is the "message posting URL" and "slash commands", where do I get the auth details needed to log in with the bot to the actual chat?
Is it even possible to offer an app on the marketplace that uses XMPP and listens to chat messages?
For XMPP bots, the various information required to connect can be found by going to https://hipchat.com/account/xmpp. Unfortunately, XMPP bots aren't something that can be placed on the marketplace / developed as an "official" integration due to the way they interact with the service. In the future we hope to add a more fleshed out "bot" framework that allows what you describe.
Marketplace addons can listen to messages (slash commands are one example like you mentioned, but you can listen for any message, just like a bot could) and send responses using the webhook API: https://www.hipchat.com/docs/apiv2/webhooks. It might be that webhooks could suffice for what you're looking to do (you just wouldn't have an actual user show up that people could 1-1 chat with).
With webhooks, the server will actually listen to all messages for you, so if you're looking to respond to message text, that might be an avenue that works. If you're looking to receive all messages, you might be able to have a "*" webhook and parse each message individually (I'm not sure if this is supported however... it might require a more restrictive regex).
Polling the room history API is also an alternative, but not recommended (you'd probably hit the API rate limit cap pretty quickly unless you were only polling a single room)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.