Closed AprilSuna closed 5 years ago
tried account activity api with ngrok, able to subscribe my own account, haven't tested oauth/callback
atm there's a webhook connected (from the python repo)
python3 example-scripts/create-webhook.py kellyhook https://54b74492.ngrok.io/webhook 200 [{"id":"1183807718034939906","url":"https://54b74492.ngrok.io/webhook","valid":true,"created_timestamp":"2019-10-14 18:12:08 +0000"}]
cannot use ngrok to tunnel anymore, dunno why, so fail to delete the webhook and do further testing
but i dunno how to thread and conveniently start/stop webhook anyway, so im thinking continuing with streaming api (and yiqing didn't seem to use aa api either)
regenerated keys haven't been updated
reverse to streaming api (hooray) but need to periodically update mute list
Using Streaming Api listen to users: