Skip to content

Commit

Permalink
Merge pull request #173 from pdayvson/master
Browse files Browse the repository at this point in the history
Fixing "Users not following back"
  • Loading branch information
ifedapoolarewaju authored Apr 27, 2018
2 parents 32e4c4e + e83075c commit 284afbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main/instagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ exports.getUnfollowers = function (session) {
return new Promise((resolve, reject) => {
let followers = [];
let following = [];
const accountId = session._cookiesStore.storage.idx['i.instagram.com']['/'].ds_user_id.value;
const sessionStorage = session._cookiesStore.storage
const accountId = (sessionStorage.idx['instagram.com'] || sessionStorage.idx['i.instagram.com'])['/'].ds_user_id.value

const compare = () => {
hashedFollowers = {}
Expand Down

0 comments on commit 284afbf

Please sign in to comment.