v1.3.0
This version provides an easier way to setup a standalone server. It also fixes a few issues.
What's new in this version
-
validateWebhook()
always assumed you had a Node.js HTTP server running, and sent the CRC response directly to that server. Because it may not always be the case, we changed it to just return a CRC signature, which you can then send with your favorite server. -
Breaking: You don't need to call the standalone
setWebhook()
if you already have a webhook. Just callAutohook.start(WEBHOOK_URL)
instead. As a result, we madesetWebhook()
private. Check out the standalone server test to see how to change your current implementation.
What's fixed
- Sometimes Twitter does not return rate limit information in the headers.
RateLimitError
now accounts for this.