Skip to content Skip to sidebar Skip to footer

How Do I Make A Tweet In Zapier Code

The following does not work in the 'Code by Zapier' Action. fetch('https://api.twitter.com/1.1/statuses/update.json?status=' +encodeURIComponent(textToTweet)) .then(function(res)

Solution 1:

This is fairly straightforward if you know the incantations:

  1. Get a token from https://dev.twitter.com/oauth/overview/application-owner-access-tokens.
  2. Add a Authorization: Bearer <yourtoken> header to your fetch() call.

And you should be good to go!

Post a Comment for "How Do I Make A Tweet In Zapier Code"