This file contains 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
var request = require('request-promise'); | |
var Q = require('q'); | |
var _ = require('lodash'); | |
var ACCESS_TOKEN = { | |
PRIMARY: 'YOU_ACCESS_TOKEN' | |
}; | |
var SELF_FOLLOWS_API_ENDPOINT = 'https://api.instagram.com/v1/users/self/follows?access_token={token}'; | |
var FOLLOWED_BY_API_ENDPOINT = 'https://api.instagram.com/v1/users/self/followed-by?access_token={token}'; | |
var promises = []; |