Cha*_*hao 5 hangouts-api hangouts-chat
我跟随传入的 bot python发送带有 webhook 的消息,我想用Method:delete删除它。
但我收到错误 401,以下是错误消息。
{'error': {'code': 401,
'message': 'Request is missing required authentication credential. '
'Expected OAuth 2 access token, login cookie or other '
'valid authentication credential. See '
'https://developers.google.com/identity/sign-in/web/devconsole-project.',
'status': 'UNAUTHENTICATED'}}
Run Code Online (Sandbox Code Playgroud)
Webhook 似乎使用密钥和令牌作为授权。但是我无法删除具有相同 url(目标为“data-id”)的消息。
| 归档时间: |
|
| 查看次数: |
1033 次 |
| 最近记录: |