Skip to content

Instantly share code, notes, and snippets.

Avatar

Travis Choma travischoma

View GitHub Profile
View twitter_update_with_media.js
// 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');
View gist:9128466
var constants = {
settings: {
setting1: "value1",
setting2: "value2",
setting3: "value3"
}
};
// check if we are in a Node enviro
if( typeof module != 'undefined') {
You can’t perform that action at this time.