botman / driver-hangouts

BotMan Hangouts Chat Driver
MIT License
10 stars 5 forks source link

Which token to provide for hangouts google chat config? #7

Open nekromoff opened 4 years ago

nekromoff commented 4 years ago

Per documentation:

If you dont use BotMan Studio, add these line to $config array that you pass when you create the object from BotManFactory.

'hangouts' => [
    'token' => 'YOUR-WEBHOOK-TOKEN',
]

What is the webhook token? I have a token for certain room, but for user to bot communication, no token is needed and in the console settings only HTTPS URL is required to be provided and no token is given

nekromoff commented 4 years ago

Bump

mattlibera commented 3 years ago

I have a static token from here: https://console.developers.google.com/apis/api/chat.googleapis.com/hangouts-chat

Screen Shot 2020-08-07 at 2 56 48 PM

Worth noting that these static tokens are being deprecated, but this driver does appear to require them at this point.

This driver doesn't appear to be seeing much maintenance lately, but this is one thing that probably will need addressing soon if it is to keep working: https://developers.google.com/hangouts/chat/how-tos/bots-develop?hl=en_US#verifying_bot_authenticity

Anyway, hope that helps for now.

nekromoff commented 3 years ago

Thanks, it is deprecated,so I wouldn't use it. I coded a custom solution instead.

On Fri, Aug 7, 2020, 21:00 Matt Libera notifications@github.com wrote:

I have a static token from here: https://console.developers.google.com/apis/api/chat.googleapis.com/hangouts-chat [image: Screen Shot 2020-08-07 at 2 56 48 PM] https://user-images.githubusercontent.com/6657359/89679092-66e6a980-d8be-11ea-9fb7-ce7fc4cd78c4.png

Worth noting that these static tokens are being deprecated, but this driver does appear to require them at this point.

This driver doesn't appear to be seeing much maintenance lately, but this is one thing that probably will need addressing soon if it is to keep working: https://developers.google.com/hangouts/chat/how-tos/bots-develop?hl=en_US#verifying_bot_authenticity

Anyway, hope that helps for now.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/botman/driver-hangouts/issues/7#issuecomment-670663246, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBHPTORG5ZXG7CIGMEWOITR7RFLXANCNFSM4PDN6Z6A .