Last active
August 29, 2015 14:07
-
-
Save arbesfeld/3c4c7656b51d52c05c1f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var cameraOptions = { | |
width: 400, | |
height: 300 | |
}; | |
MeteorCamera.getPicture(cameraOptions, function (error, image) { | |
}); | |
if (Meteor.isServer) { | |
var twitter = new TwitterApi(); | |
Meteor.methods({ | |
postTweet: function () { | |
if (Meteor.user()) | |
twitter.postTweet('Learning Meteor at HackMIT!'); | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment