Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions 3_instagram/instagram.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
from instabot import Bot
bot = Bot()
bot.login(username="", password="")
bot.login(username="nobody_bot786", password="mohdabid")

###### upload a picture #######
bot.upload_photo("yoda.jpg", caption="biscuit eating baby")
bot.upload_photo("", caption="")

###### follow someone #######
bot.follow("elonrmuskk")
bot.follow("mr_nobody.786")

###### send a message #######
bot.send_message("Hello from Dhaval", ['user1','user2'])
bot.send_message("hlo🤗 mention aa gye har jgha se 🤧ignor ko kar sharm to ayi nhi hogi🤣🤣jo yaha bhi muh uhta ke chale👀 aye😁🤣 tumhari ko self respect nhi kya🙄🌚", ['user1','user2'])

###### get follower info #######
my_followers = bot.get_user_followers("dhavalsays")
my_followers = bot.get_user_followers("anyone")
for follower in my_followers:
print(follower)

bot.unfollow_everyone()
bot.(activ)