Comments (16)
Hi @jose46moreno !! I am using Python 3.8.2 in a Linux box and I am unable to replicate this error, probably this error arised because of a very continued use of the script or maybe there is a problem with the account. I would wait for some hours and try again, if the error persists please let me know :)
from instagram-followers-bot.
It's weird because the mistake only happens to me with that command.
I have executed the follow command through a tag and it has been executed without problems.
Last week I executed the unfollow command and it didn't give any errors, so it's something new, but it keeps on playing.
Tell me how I can help you to make the possible solution easier, if any.
from instagram-followers-bot.
If you could add in line 89 these two new lines (before "for i in followings:"):
print (followings)
print (followers)
And right after "for i in followings:"this one new line:
print (i)
And tell me what you see or send me a screenshot. I think maybe the "i" parameter is None for some reason, maybe because it does not retrieve the value of something. Or maybe it is an encoding problem
from instagram-followers-bot.
Could you solve it @jose46moreno ? :)
from instagram-followers-bot.
Sorry for the delay in the message, I had some problems that prevented me from doing it.
I'm attaching in several screenshots the result of executing the instruction with the prints you indicated.
from instagram-followers-bot.
Ok xDD I think the error is in the line "respJSON = response.json()" in aux_funcs.py
Try and change the function get_id in aux_funcs.py to this one, which will help to show the real error:
def get_id(username):
url = "https://www.instagram.com/web/search/topsearch/?context=blended&query="+username+"&rank_token=0.3953592318270893&count=1"
response = requests.get(url)
try:
respJSON = response.json()
user_id = str( respJSON['users'][0].get("user").get("pk") )
return user_id
except:
try:
print(response.text)
except:
return "Unexpected error"
from instagram-followers-bot.
Looks like that was, uh, super unfollow running smoothly.
Thank you very much!
from instagram-followers-bot.
You are welcome! :) I will close the issue now
from instagram-followers-bot.
Sorry @ricardojoserf I think it still doesn't work.
Now the console doesn't return an error, but the unfollow doesn't run.
In the console it says that it is stopping following X user but when it is finished, I see that it is not like that.
I'm attaching a screenshot of what is now showing up in the terminal while it is running.
from instagram-followers-bot.
Hi again @jose46moreno . I think you account may be too new and you can not do so many requests. Try to add a delay like this:
try:
time.sleep(10) ##add this line
respJSON = response.json()
Try with 10 seconds of delay, if it does not work try with 60 seconds, and if it does not work let me know here :)
from instagram-followers-bot.
@ricardojoserf Sorry to keep bringing you bad news, but putting in both 10 and 60 seconds, the result is the same.
As soon as you run, it already shows the same thing I shared with you in the previous picture.
from instagram-followers-bot.
@ricardojoserf could you see this?
from instagram-followers-bot.
Hi @jose46moreno . Sorry I am working a lot lately... Hopefully i will have time next weekend
from instagram-followers-bot.
@ricardojoserf ok, don't worry!
Thanks!
from instagram-followers-bot.
Hi @josepfm, I am still unable to replicate the error, I am very sorry. If I find something related to this in the future or someone tells me this happens in more cases, I will reopen the issue. Sorry! :P
from instagram-followers-bot.
Ok, thanks.
from instagram-followers-bot.
Related Issues (20)
- Follow from list error HOT 4
- What are the chances of me getting banned? HOT 1
- AttributeError: 'InstagramAPI' object has no attribute 'username_id' HOT 7
- Error HOT 2
- Error :There was an error unfollowing HOT 5
- The information about my followers it's not accurate HOT 2
- Bot
- Error username_id HOT 4
- Super Unfollow/ Unfollow all Error
- Login not successful HOT 2
- Bug in unfollow HOT 1
- d1.kwame HOT 1
- bot stops working after 83 -84 follows HOT 9
- Bug in unfollows. HOT 1
- Error: AttributeError: 'InstagramAPI' object has no attribute 'username_id' HOT 2
- Error in unfollowing (in following by locations mode)
- Initial error
- Insta follow bot
- Uuuuu Hehdh HOT 1
- AttributeError: 'InstagramAPI' object has no attribute 'username_id' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instagram-followers-bot.