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:
- Get a token from https://dev.twitter.com/oauth/overview/application-owner-access-tokens.
- Add a
Authorization: Bearer <yourtoken>
header to yourfetch()
call.
And you should be good to go!
Post a Comment for "How Do I Make A Tweet In Zapier Code"