Closed alexgiul closed 5 years ago
do you set delay between likes you do ??
Yes, actually the delay is set to 8000 (ms)
this is the code which wraps the like function
return Promise.delay( Math.floor(Math.random()*delay+delay) ).then(() => { // ... like });
I think you know Instagram its has an hourly limit of how much likes you can do so if you burn them all and get to the moment where they return the action as spam error you only have to wait some hours and should back to work fine, 8 sec is very short especially if the account still new , I'm doing 30-60 sec delay and its running 24/24 and is fine
Thanks for reply, well I will increase asap the delay hoping that is the issue. About the hourly limit, I have no idea, somewhere I read about 600 likes/follows etc a day, so I am not sure f they are still valid , maybe can you point me to the correct number? Actually I got the ActionSpamError with 24 likes (mean), 24 (mean) follows every hour only from 7am to 24pm
I'm doing 800 to 900 likes per day and for you getting spam error with 24 likes is because of the delay
Thanks, I have updated the code increasing the minimum delay to 30 sec
may I ask you what revision of this library are you using? I am using "^0.6.8"
I'm using the version from this repo
I am running the new version and until now no ActionSpamError on Like. I have also increased the delay between follow but on an account I got the ActionSpamError. In another forum I have read about some python bots stop doing like or follow after 3 errors in a row, do you have any advice based on your experience?
@alexgiul in a space of 1 hour if i had catch more than > 4 errors I order my bot to stop the service for some long time to recover
Interesting approach, actually i have seen that after the first actionspam on every follow action i get the error so i stop completely the activities for 3 hr (minimum). How many follow actions are you able to do in a day? What delay do you put between each ?
Il giorno ven 25 gen 2019, 19:50 Tadeu Tupinambá notifications@github.com ha scritto:
@alexgiul https://github.com/alexgiul in a space of 1 hour if i had catch more than > 4 errors I order my bot to stop the service for some long time to recover
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dilame/instagram-private-api/issues/608#issuecomment-457680842, or mute the thread https://github.com/notifications/unsubscribe-auth/AhW5BD7VCrh36Ayk6m2lgfeOMmDbEkg1ks5vG1HugaJpZM4Za620 .
Hi Guys,
during my tests with this library I got an error from Instagram "ActionSpamError". This error happens with no reason
var hashtagsFeed = new igConfig.client.Feed.TaggedMedia(session, "travel", 20); return hashtagsFeed.get() .then((results) => { // loop for liking })
The code inside loop is: ` return new igConfig.client.Request(session) .setMethod('POST') .setResource('like', {id: media.id}) .generateUUID() .setData({ media_id: media.id, src: "profile" }) .signPayload() .send() .then(data => { return media.id; }) .catch(error => { if (error.name == "ActionSpamError") throw error; return false; });Does anyone have the same issue? Any help would be very appreciated
Alex`