Closed iransales closed 6 years ago
I did write some script in examples. Welcome https://github.com/instagrambot/instabot/blob/master/examples/welcome_message.py
I saw your script for direct message to new followers. I'm a beginner, and have Instabot already configured running. Where should I add or run your script for automatic dm? Thank you so much!
Yes, please more info!
i'm receiving this error
Traceback (most recent call last):
File "welcome_message.py", line 15, in
solved using pip install huepy==0.9.8.1
I get the following error when the script intends to send a DM to a new follower:
2018-05-08 09:17:16,838 - ERROR - Request returns 400 error!
2018-05-08 09:17:16,839 - INFO - Instagram's error message: feedback_required
2018-05-08 09:17:16,839 - INFO - Message to ['xxx'] wasn't sent
What is this feedback_required
?
I found this article explaining it. Has nothing to do with the code, it seems.
Thanks @sudoguy for your script. I wonder if we can print username in the message ? for example, if I'm sending a message to sudoguy, message should be something like this "thank you for follow @username " is that possible somehow?
@eyazilikaya just make the message:
'Thank you for following me @{}'.format(bot.get_user_info(follower)['username'])
so change the last lines into:
for follower in tqdm(new_followers):
MESSAGE = 'Thank you for following me @{}'.format(bot.get_user_info(follower)['username'])
if bot.send_message(MESSAGE, follower):
notified_users.append(follower)
How do I send more than one message? For example: 1 : Hi @marcel 2 : We have the best prices 3 *: contact us by email
Can someone answer my question above?
@basnijholt ?
@iransales could you write what you tried yourself in order to do this?
also receiving
File "/Users/knux/Desktop/instabot-master/examples/welcome_message.py", line 15, in <module>
from instabot import Bot, utils
ImportError: cannot import name 'utils'
attempted install huepy==0.9.8.1
as @RobertoBrandini states but that returns
Could not fetch URL https://pypi.python.org/simple/huepy/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Could not find a version that satisfies the requirement huepy (from versions: )
No matching distribution found for huepy```
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.
is there anyway I can modify the script to DM users that I follow ? @sudoguy
need some help to dm my followers any one ????
Please can you implement send DM to new followers. PLEASE