diff --git a/README.md b/README.md index 1532a86..7b5202f 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,6 @@ For a example result see https://dev.twitter.com/rest/reference/post/media/uploa ## How to upload Video ## To upload video to Twitter, call `twitter.uploadVideo(params, accessToken, accessTokenSecret, callback)` with params containing the following: -* _media_: Path to the file containing the image. +* _media_: Path to the file containing the video. -You can pass media_id to the statuses/update endpoint and video will be uploaded to twitter. Please note that video should be less than 15mb or 30 sec in length +You can pass media_id to the statuses/update endpoint and video will be uploaded to twitter. Please note that video should be less than 15mb or 30 sec in length. diff --git a/twitter.js b/twitter.js index e76b754..6f20439 100644 --- a/twitter.js +++ b/twitter.js @@ -294,7 +294,7 @@ Twitter.prototype.uploadMedia = function(params, accessToken, accessTokenSecret, }; /** - * upload video for twitter + * upload video to twitter * @param params * @param accessToken * @param accessTokenSecret