Created
September 10, 2017 23:19
-
-
Save tommelo/44ac0cf15e73ae7a2c4c254021260b33 to your computer and use it in GitHub Desktop.
Test the Influencers Finder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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