New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-twitter-api

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-twitter-api - npm Package Compare versions

Comparing version 1.6.3 to 1.6.4

2

package.json
{
"name": "node-twitter-api",
"version": "1.6.3",
"version": "1.6.4",
"description": "Simple module for using Twitter's API in node.js",

@@ -5,0 +5,0 @@ "keywords": ["twitter", "oauth", "rest", "streaming"],

@@ -72,2 +72,8 @@ var twitterAPI = require("./index.js");

twitter.statuses("oembed", {id: "507185938620219395"}, accessToken, accessTokenSecret, function(err, data, res) {
console.log(err);
console.log(data);
//console.log(res);
});
function base64_encode(file) {

@@ -89,3 +95,3 @@ // read binary data

/*
var mediaId = 591296130014703600;

@@ -102,3 +108,3 @@

console.log(res);
/*setTimeout(function() {
setTimeout(function() {
twitter.statuses("destroy", {

@@ -111,3 +117,3 @@ id: data.id

});
}, 10000);*/
}, 10000);
});

@@ -121,1 +127,2 @@

});
*/
"use strict";
var VERSION = "1.6.3",
var VERSION = "1.6.4",
querystring = require("querystring"),

@@ -221,2 +221,5 @@ oauth = require("oauth"),

break;
case "oembed":
url ="oembed";
break;
case "upload_media":

@@ -223,0 +226,0 @@ this.uploadMedia(params, accessToken, accessTokenSecret, callback);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc