Socket
Socket
Sign inDemoInstall

socializr

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socializr - npm Package Compare versions

Comparing version 0.2.13 to 0.2.14

3

lib/auth/pubsub.js

@@ -62,5 +62,2 @@ var util = require('util')

return function(req, res, next){
console.log('published', req.body, req.text);
console.log('valid signature',_this.isSignatureValid( req.text, req.get('X-Hub-Signature')));
if( _this.isSignatureValid(

@@ -67,0 +64,0 @@ req.text, req.get('X-Hub-Signature'))

21

lib/providers/instagram.js

@@ -133,12 +133,17 @@ var stream = require('stream')

, ig = this
, obj = null
;
for( var i in chunk){
// this.getMediaByTag({
// tag: chunk.object_id
// }, function(res){
obj = chunk[i];
switch( obj.object){
case IG_OBJECT_TAG:
this.getMediaByTag(chunk[i].object_id, function(res){
console.log('media response',res.body);
});
console.log( chunk[i]);
break;
}
// });
// console.log( chunk[i]);
}

@@ -152,4 +157,4 @@

Instagram.prototype.getMediaByTag = function(tag, cb){
this._apiRequest( 'tags/' + tag.tag + '/media/recent', 'GET', {
access_token: tag.accessToken
this._apiRequest( 'tags/' + tag + '/media/recent', 'GET', {
client_id: this.clientId
}, function(res){

@@ -156,0 +161,0 @@ cb&&cb(res.error || res.body);

{
"name": "socializr",
"version": "0.2.13",
"version": "0.2.14",
"description": "Read data streams from several social networks.",

@@ -5,0 +5,0 @@ "main": "index.js",

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