Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: change Instagram APIs #26

Merged
merged 8 commits into from
Aug 7, 2020
Merged

Conversation

Datalux
Copy link
Owner

@Datalux Datalux commented Aug 6, 2020

Linked to #25

@Datalux Datalux changed the title feat: added instagram_private_api and refactor methods feat: change Instagram APIs Aug 6, 2020
@santiagodemierre
Copy link

Anything calling rank_token returns an error
Run a command: followers
Searching for target followers...
Traceback (most recent call last):
File "main.py", line 82, in
api.getFollowers()
File "/home/santiago/Devel/Osintgram/src/Osintgram.py", line 463, in getFollowers
followers = self.getTotalFollowers(self.target_id)
File "/home/santiago/Devel/Osintgram/src/Osintgram.py", line 145, in getTotalFollowers
_ = self.api.getUserFollowers(user_id, maxid=next_max_id)
File "/home/santiago/Devel/Osintgram/src/InstagramAPI.py", line 934, in getUserFollowers
return self.SendRequest('friendships/' + str(usernameId) + '/followers/?rank_token=' + self.rank_token)
AttributeError: 'InstagramAPI' object has no attribute 'rank_token'

@Datalux
Copy link
Owner Author

Datalux commented Aug 7, 2020

Anything calling rank_token returns an error
Run a command: followers
Searching for target followers...
Traceback (most recent call last):
File "main.py", line 82, in
api.getFollowers()
File "/home/santiago/Devel/Osintgram/src/Osintgram.py", line 463, in getFollowers
followers = self.getTotalFollowers(self.target_id)
File "/home/santiago/Devel/Osintgram/src/Osintgram.py", line 145, in getTotalFollowers
_ = self.api.getUserFollowers(user_id, maxid=next_max_id)
File "/home/santiago/Devel/Osintgram/src/InstagramAPI.py", line 934, in getUserFollowers
return self.SendRequest('friendships/' + str(usernameId) + '/followers/?rank_token=' + self.rank_token)
AttributeError: 'InstagramAPI' object has no attribute 'rank_token'

This is the old implementation. Try to use the version of this branch.

@Datalux Datalux merged commit 7fd0361 into development Aug 7, 2020
@Datalux Datalux deleted the feat/change-instagram-api branch August 7, 2020 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants