[GH-ISSUE #7] No interaction #8

Closed
opened 2026-03-02 23:37:14 +03:00 by kerem · 25 comments
Owner

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
Capture

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 ![Capture](https://user-images.githubusercontent.com/66672318/84132227-eafaed00-aa45-11ea-81b7-1e795219bc99.JPG)
kerem 2026-03-02 23:37:14 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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.

<!-- gh-comment-id:641173549 --> @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.
Author
Owner

@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 ^^"

<!-- gh-comment-id:641176737 --> @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 ^^"
Author
Owner

@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?

<!-- gh-comment-id:641178072 --> @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?
Author
Owner

@GeikoHub commented on GitHub (Jun 9, 2020):

i launch it back and let it run.
Post that when there's more report to show ;)

<!-- gh-comment-id:641179017 --> @GeikoHub commented on GitHub (Jun 9, 2020): i launch it back and let it run. Post that when there's more report to show ;)
Author
Owner

@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)
Probably need to scroll.
Less than 6 photos / account is private. Skip user.

Capture

<!-- gh-comment-id:641189291 --> @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) Probably need to scroll. Less than 6 photos / account is private. Skip user. ----------------- ![Capture](https://user-images.githubusercontent.com/66672318/84135735-9c038680-aa4a-11ea-96ec-b0b311b67a4e.JPG)
Author
Owner

@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?

<!-- gh-comment-id:641197762 --> @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?
Author
Owner

@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
IMG_20200609_123254
IMG_20200609_123246

<!-- gh-comment-id:641202345 --> @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 ![IMG_20200609_123254](https://user-images.githubusercontent.com/66672318/84137977-d02c7680-aa4d-11ea-8601-ad687f3c8a82.jpg) ![IMG_20200609_123246](https://user-images.githubusercontent.com/66672318/84138076-fc47f780-aa4d-11ea-9812-a92ea9218e85.jpg)
Author
Owner

@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?

<!-- gh-comment-id:641207083 --> @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?
Author
Owner

@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.

<!-- gh-comment-id:641207814 --> @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.
Author
Owner

@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?

<!-- gh-comment-id:641209450 --> @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?
Author
Owner

@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

<!-- gh-comment-id:641215692 --> @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
Author
Owner

@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?

<!-- gh-comment-id:641218116 --> @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?
Author
Owner

@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.

<!-- gh-comment-id:641224866 --> @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.
Author
Owner

@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:

  1. Install uiautomatorviewer
  2. Open somebody's profile on your Android 5 phone
  3. Make a screenshot using uiautomatorviewer program. It actually makes not a screenshot, but a capture of layout hierarchy.
  4. Export this screenshot into xml format and attach here.

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.

<!-- gh-comment-id:642465821 --> @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: 1. Install [uiautomatorviewer](https://developer.android.com/training/testing/ui-automator#ui-automator-viewer) 2. Open somebody's profile on your Android 5 phone 3. Make a screenshot using `uiautomatorviewer` program. It actually makes not a screenshot, but a capture of layout hierarchy. 4. Export this screenshot into xml format and attach here. 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.
Author
Owner

@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!

<!-- gh-comment-id:642624022 --> @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!
Author
Owner

@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-

<!-- gh-comment-id:642763462 --> @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-
Author
Owner

@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 ;)

<!-- gh-comment-id:642795600 --> @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 ;)
Author
Owner

@pezzotto commented on GitHub (Jun 11, 2020):

Same here, I will try to install the viewer on a vm and export the xml.

<!-- gh-comment-id:642872525 --> @pezzotto commented on GitHub (Jun 11, 2020): Same here, I will try to install the viewer on a vm and export the xml.
Author
Owner

@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

<!-- gh-comment-id:643024501 --> @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](https://github.com/alexal1/Insomniac/files/4768288/Screenshot.zip)
Author
Owner

@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?

<!-- gh-comment-id:643203167 --> @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?
Author
Owner

@GeikoHub commented on GitHub (Jun 12, 2020):

Works like a charm here!
Congratulations!

<!-- gh-comment-id:643223087 --> @GeikoHub commented on GitHub (Jun 12, 2020): Works like a charm here! Congratulations!
Author
Owner

@pezzotto 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?

Sorry but idk how to update the branch? Just git pull ?

<!-- gh-comment-id:643239980 --> @pezzotto 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? Sorry but idk how to update the branch? Just git pull ?
Author
Owner

@GeikoHub commented on GitHub (Jun 12, 2020):

@pezzotto dl it here ;)
https://github.com/alexal1/Insomniac/tree/no-interaction-bug

<!-- gh-comment-id:643241038 --> @GeikoHub commented on GitHub (Jun 12, 2020): @pezzotto dl it here ;) https://github.com/alexal1/Insomniac/tree/no-interaction-bug
Author
Owner

@Foncekar commented on GitHub (Jun 12, 2020):

git checkout no-interaction-bug

<!-- gh-comment-id:643243033 --> @Foncekar commented on GitHub (Jun 12, 2020): git checkout no-interaction-bug
Author
Owner

@pezzotto commented on GitHub (Jun 12, 2020):

Working on 5.0.2

<!-- gh-comment-id:643256915 --> @pezzotto commented on GitHub (Jun 12, 2020): Working on 5.0.2
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Insomniac#8
No description provided.