Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes the code dont send a comment on post #1751

Open
AndreZila01 opened this issue Jan 24, 2024 · 0 comments
Open

Sometimes the code dont send a comment on post #1751

AndreZila01 opened this issue Jan 24, 2024 · 0 comments
Labels
bug unconfirmed This issue hasn't been read/confirmed/accepted by an admin

Comments

@AndreZila01
Copy link

Describe the bug
Some post of my bot have comment and others dont have. i have 100% i send the message

To Reproduce
Please indicate all steps that lead to this bug:

  1. Make Login with username and password
  2. Send a photo with caption (comment)
const postToInsta = async (texto, id) => {

    const imageBuffers = fs.readFileSync(`./new_image${id}.jpg`);
    console.log(`./new_image${id}.jpg || ${texto}`); // check if function receive all values

    await ig.publish.photo({
        file: imageBuffers,
        caption: texto, // text
    });
    await new Promise(resolve => setTimeout(resolve, 15000)); //make a setimeout to conclude all other posts.
}

Version

  • Node.js version 20.11.0
  • Lib version 1.45.3
  • OS (especially if you use Windows) Windows

Additional context
With comment: https://www.instagram.com/p/C2LRoItrrsL/
With out comments: https://www.instagram.com/p/C2LRoVCrCqA/

@AndreZila01 AndreZila01 added bug unconfirmed This issue hasn't been read/confirmed/accepted by an admin labels Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unconfirmed This issue hasn't been read/confirmed/accepted by an admin
Projects
None yet
Development

No branches or pull requests

1 participant