Tools-for-Instagram: likeRecentHashtagsByIntervals error
I’m getting this error using likeRecentHashtagsByIntervals error. Below is all my codes. Nothing fancy, just settings and calling the function.
let ig = await login(); let likesPerInterval = 24; let waitMinutesBetweenLikes = 60;
let intervals = [ ["0:00", "23:00"] ]; let hashtagArray = [ "meme", "memes", "dailymeme", "dailymemes" ];
let likeInterval = likeRecentHashtagsByIntervals( ig, hashtagArray, intervals, likesPerInterval, waitMinutesBetweenLikes);

Anyone knows what’s wrong?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (9 by maintainers)
You need to import
imstagram_mqttfrom npm instead of github. Npm ignores thesrc/directory, so the library doesn’t compile. This has to be done in thepackage.json(replace"instagram_mqtt": "..."with"instagram_mqtt": "^0.2.16"(cc @linkfy )