Skip to content

Instantly share code, notes, and snippets.

@tommelo
Created September 10, 2017 23:19
Show Gist options
  • Save tommelo/44ac0cf15e73ae7a2c4c254021260b33 to your computer and use it in GitHub Desktop.
Save tommelo/44ac0cf15e73ae7a2c4c254021260b33 to your computer and use it in GitHub Desktop.
Test the Influencers Finder
'use strict';
var Influence = require('./').Influence;
var term = 'top fitness instagram accounts';
Influence.find(term).then(
/**
* Handles the instagram profiles
*/
function(profiles) {
console.log(profiles);
}
).catch(
/**
* Handles the error
*/
function(error) {
console.error(error);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment