Comparing version 0.0.19 to 0.0.20
@@ -81,4 +81,4 @@ var stream = require('stream') | ||
this._pubsubConnections = {}; | ||
this._oauthConnections = new OAuthConnectionStore(); | ||
this.pubsubConnections = {}; | ||
this.oauthConnections = new OAuthConnectionStore(); | ||
@@ -133,3 +133,3 @@ }; | ||
; | ||
this._pubsubConnections[ verify_token] = conn; | ||
this.pubsubConnections[ verify_token] = conn; | ||
@@ -156,3 +156,3 @@ this._graphRequest( this.appId + '/subscriptions', 'POST', { | ||
Facebook.prototype.install = function(pageId, token, cb){ | ||
this._oauthConnections.add( token, pageId); | ||
this.oauthConnections.add( token, pageId); | ||
this._graphRequest( pageId + '/tabs', 'POST', { | ||
@@ -186,3 +186,3 @@ app_id: this.appId, | ||
Facebook.prototype.isVerifyToken = function(token){ | ||
return this._pubsubConnections.hasOwnProperty( token); | ||
return this.pubsubConnections.hasOwnProperty( token); | ||
}; | ||
@@ -212,3 +212,3 @@ | ||
var auth = this._oauthConnections.get( chunk.entry[i].id); | ||
var auth = this.oauthConnections.get( chunk.entry[i].id); | ||
@@ -215,0 +215,0 @@ for( var j in chunk.entry[i].changes){ |
{ | ||
"name": "socializr", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"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
30811