This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// adapted from https://gist.github.com/adaline/7363853 which read the image from a file | |
// modified to support posting to twitter update_with_media - with image from s3 rather than a | |
// local file. | |
(function() { | |
var fs, path, request, twitter_update_with_media; | |
fs = require('fs'); | |
path = require('path'); |