Closed gbergna2009 closed 6 years ago
This is for error "ERROR - Text must be an string, user_ids must be an list or string" and doesn't send private message at my followers.
@gbergna2009 its been fixed ,,close the thread
@virginsince1997 many thanks for fix this issue! I try this new version and now it works. Only another little bug I think... messages was send to all users by the bot, but these messages are sent all together without respecting a minimum of timing. This way you really risk the ban! it seems that it does not follow the instructions in line 24 "banDelay = (86400 / messagesToSend)".
You could verify? I have tried and send messages all together right away.
@gbergna2009 @virginsince1997 What default delay I need to set for sending messages? A delay between sending messages
10 private messages up to one hour if we talk about a newly created instagram account with at least 6 images. This is the only data I can tell you to avoid the ban. Then I do not know exactly. However, this could be a reliable starting time, then everyone should be able to set it as they prefer by doing some tests.
@sudoguy Hi boss! Did you check the operation of the delay parameter? at present the messages are sent correctly but are sent all together at once, as if they did not respect any timetable. This is important because otherwise send too many messages all at once, you risk the ban. Thanks so much.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like so [x]).Before submitting an issue, make sure you have:
Purpose of your issue?
The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.
For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.
Paste the output of
python -V
here:Code:
Error/Debug Log:
Describe your issue
Python version used: 3.6
Hello everyone, I wanted to report that by launching the functionality ... examples / message_users.py and choosing the last option (3: Message Each Your Follower), the bot does not send the message to my followers as it always responds with:
"ERROR - Text must be an string, user_ids must be an list or string"
If I use the 0 (0: Messages From CSV File) option, the bot correctly sends the message to the list of followers in the messages.csv file.
I wanted to ask this:
1) the function "No. 3 Message Each Your Follower" where it takes the list of my followers? Maybe from the file ... examples / followed.txt?
2) How can I correct this error "ERROR - Text must be an string, user_ids must be an list or string"?
It almost seems that if the script reads the file in .csv format then he sends the message. While with the function "No. 3 Message Each Your Follower" there is a file format / read error (ANSI instead of UTF-8)?
3) Does the function "No. 3 Message Each Your Follower" send direct messages ONLY to the new followers or to ALL the followers indistinctly when I launch the command?