Comparing version 0.2.14 to 0.2.15
@@ -59,3 +59,3 @@ var stream = require('stream') | ||
}; | ||
this.subscribe( data, function(req){ | ||
this.subscribe( data, function(err,res){ | ||
console.log('++++++++ instagram',arguments); | ||
@@ -113,4 +113,4 @@ }); | ||
this._apiRequest( 'subscriptions', 'POST', data, function(res){ | ||
cb&&cb(res); | ||
this._apiRequest( 'subscriptions', 'POST', data, function(err,res){ | ||
cb&&cb(err,res); | ||
}); | ||
@@ -142,3 +142,3 @@ }; | ||
case IG_OBJECT_TAG: | ||
this.getMediaByTag(chunk[i].object_id, function(res){ | ||
this.getMediaByTag(chunk[i].object_id, function(err,res){ | ||
console.log('media response',res.body); | ||
@@ -218,4 +218,4 @@ }); | ||
.query(data) | ||
.end( function(res){ | ||
cb&&cb( res); | ||
.end( function(err,res){ | ||
cb&&cb(err,res); | ||
}); | ||
@@ -229,4 +229,4 @@ break; | ||
.send(data) | ||
.end( function(res){ | ||
cb&&cb( res); | ||
.end( function(err,res){ | ||
cb&&cb(err,res); | ||
}); | ||
@@ -240,4 +240,4 @@ | ||
.send(data) | ||
.end( function(res){ | ||
cb&&cb( res); | ||
.end( function(err,res){ | ||
cb&&cb(err,res); | ||
}); | ||
@@ -244,0 +244,0 @@ break; |
{ | ||
"name": "socializr", | ||
"version": "0.2.14", | ||
"version": "0.2.15", | ||
"description": "Read data streams from several social networks.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48824