mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-26 10:05:50 +03:00
[GH-ISSUE #7] No interaction #8
Labels
No labels
bug
duplicate
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Insomniac#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GeikoHub on GitHub (Jun 9, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/7
The bot works like a charm, in the state of work in progress that's a really good begining.
Maybe a video/notice is needed to really understand how to install and make it works.
In my case, the bot interact with other profiles but don't put any like,

it's just go on the profile, check it, scroll down and come back to followers list
@alexal1 commented on GitHub (Jun 9, 2020):
As I see it says that "Less than 6 photos / account is private. Skip user."
Bot is guaranteed to interact only with public accounts with >= 6 posts.
@GeikoHub commented on GitHub (Jun 9, 2020):
yep, attached file was to show the launch.
The 1st ones you're right doesn't fit the bot rules.
I ran it for about 4h yesterday and 2h this morning without any like on any profile.
Tried to change the rules too yesterday, and run today with the update and default settings.
But nothing change, no interaction ^^"
@alexal1 commented on GitHub (Jun 9, 2020):
That's strange, there at least should be some errors in the log. Could you please attach log with the case of wrong non-interacting?
@GeikoHub commented on GitHub (Jun 9, 2020):
i launch it back and let it run.
Post that when there's more report to show ;)
@GeikoHub commented on GitHub (Jun 9, 2020):
it seems now (yesterday i changed the interaction for at least 6 pics for 1 pics)
That "private or public account", "more or less than 6 pics" or every account just considered as skip
Every account done that case under;
Back to followers list
<@sven*********>_ : interact
Sleep for 3 seconds
Open and like photo #1 (1 row, 1 column)
[93mProbably need to scroll.[0m
[93mLess than 6 photos / account is private. Skip user.[0m
@alexal1 commented on GitHub (Jun 9, 2020):
Let's consider "@lionyzion" user for example. I see that it has enough posts but script skips it. Could you please send some screenshots of this profile made from the device on which you run the script?
@GeikoHub commented on GitHub (Jun 9, 2020):
as that?!


Tested on a old one android
Samsung galaxy core prime - SM-G360f
Android version 5.0.2
@alexal1 commented on GitHub (Jun 9, 2020):
Yes, thank you. When script prints "Probably need to scroll" while being on the profile, does scroll really happen?
@GeikoHub commented on GitHub (Jun 9, 2020):
Yes it scroll for about half a screen down on every profile.
Every time the same scroll by the way.
@alexal1 commented on GitHub (Jun 9, 2020):
Well, that's very strange, it should work. The only explanation I got – you have an old Instagram app version, try to update it. By the way, did you change something in the script? Maybe problems occurred after some changes?
@GeikoHub commented on GitHub (Jun 9, 2020):
I have installed instagram on this device just for the bot,
so the last one version, installed about 2days ago.
No changes at all on the script, just ran the version you udapted today (4h ago)
Don't understand too why just don't do nothing and skip every users, strange thing...
i try with a oneplus7 android 10
@GeikoHub commented on GitHub (Jun 9, 2020):
you're right, works like a charm with the other device...
Is it possible due to android version or something?
I think it's better for everyone to let the bot run on a old phone never in use than the one everyday used monopolized by the bot all day long.
But it will be hard to make compatibility with every old one no?
@alexal1 commented on GitHub (Jun 9, 2020):
Actually I've tested on three different devices, not new ones too. Maybe Instagram app has different UI elements ids for different Android versions... I'll try to run Android 5.0.2 on emulator and let you know here.
@alexal1 commented on GitHub (Jun 11, 2020):
Sorry, I've tried to install Instagram app on an emulator with Android 5 but didn't succeed. I want to fix this issue nevertheless, but I'll need your help.
Could you please:
uiautomatorviewerprogram. It actually makes not a screenshot, but a capture of layout hierarchy.Why doing all this?
I want to find out what's the difference in the UI between your phone and others. If we find this out, we will make a fix depending on Android version.
@GeikoHub commented on GitHub (Jun 11, 2020):
Ooook, sooo...
After about 2h trying to launch uiautomatorviewer,
added path variable etc... just impossible to get the software open...
I saw that it only works with java 8 and i have java 14 but impossible to find where to downgrade and no exe for java 8...
I'm a bit lost i admit!
@alexal1 commented on GitHub (Jun 11, 2020):
Jeah, it's a bit tricky. It really works only on Java 8 and earlier. As I understand on Windows you'll have to delete Java and install version 8 from scratch. Maybe this will help https://support.quotemedia.com/support/solutions/articles/13000055272-how-to-downgrade-java-version-windows-user-
@GeikoHub commented on GitHub (Jun 11, 2020):
In fact that's not where i'm the most confortable ;)
I stopped when i saw i need to create an account without any really knowledge of this was really the problem.
You confirm me that is so i'll create it tomorrow to get java 8 and transmit you the report ;)
@pezzotto commented on GitHub (Jun 11, 2020):
Same here, I will try to install the viewer on a vm and export the xml.
@jonap339 commented on GitHub (Jun 12, 2020):
@alexal1 , One of my devices has android 5.0.1. The same thing happens to me as @GeikoHub . Attached is the uiautomatorviewer screenshot. Please let me know if you need anything else! I don't speak English but I communicate by translator haha
Screenshot.zip
@alexal1 commented on GitHub (Jun 12, 2020):
Thanks @jonap339, I found the problem and made a fix.
@GeikoHub @pezzotto could you please checkout this branch and test if everything works fine?
@GeikoHub commented on GitHub (Jun 12, 2020):
Works like a charm here!
Congratulations!
@pezzotto commented on GitHub (Jun 12, 2020):
Sorry but idk how to update the branch? Just git pull ?
@GeikoHub commented on GitHub (Jun 12, 2020):
@pezzotto dl it here ;)
https://github.com/alexal1/Insomniac/tree/no-interaction-bug
@Foncekar commented on GitHub (Jun 12, 2020):
git checkout no-interaction-bug
@pezzotto commented on GitHub (Jun 12, 2020):
Working on 5.0.2