In main.go
(line 18 ) : webhookPath = "/webhook/twitter"
must be updated to: webhookPath = "/env_name/webhooks.json"
because if someone hasn't read the code and try to paste the complete URL path as
https://api.twitter.com/1.1/account_activity/all/:env_name/webhooks.json
then the problem occurs . As the /webhook/twitter is not suggesting anything or it is too ambiguous.
In main.go
(line 18 ) : webhookPath = "/webhook/twitter"
must be updated to: webhookPath = "/env_name/webhooks.json"
because if someone hasn't read the code and try to paste the complete URL path as
https://api.twitter.com/1.1/account_activity/all/:env_name/webhooks.json
then the problem occurs . As the /webhook/twitter is not suggesting anything or it is too ambiguous.