Instagram automation with 10 lines of python code | Python Instagram BOT

In 10 lines of python code you can automate Instagram usage, I will show you how in this video.
Code: github.com/codebasics/cool_py...
Do you want to learn technology from me? Check codebasics.io/?... for my affordable video courses.
Cool python apps playlist: • Cool Python Apps
instabot examples: github.com/ohld/igbot/tree/ma...
🌎 My Website For Video Courses: codebasics.io/?...
Need help building software or data analytics and AI solutions? My company www.atliq.com/ can help. Click on the Contact button on that website.
🎥 Codebasics Hindi channel: / @codebasicshindi
#️⃣ Social Media #️⃣
🔗 Discord: / discord
📸 Dhaval's Personal Instagram: / dhavalsays
📸 Instagram: / codebasicshub
🔊 Facebook: / codebasicshub
📱 Twitter: / codebasicshub
📝 Linkedin: / codebasics
❗❗ DISCLAIMER: All opinions expressed in this video are of my own and not that of my employers'.

Пікірлер: 651

  • @codebasics
    @codebasics2 жыл бұрын

    Do you want to learn technology from me? Check codebasics.io/ for my affordable video courses.

  • @adamwatson8162

    @adamwatson8162

    Жыл бұрын

    This video is legit a BS lie video, which is built purposely to try to get you to pay money for his course

  • @user-ox3nc6ci9v

    @user-ox3nc6ci9v

    Жыл бұрын

    possibility of making an autotag program for instagram

  • @kennethstahl2910

    @kennethstahl2910

    Жыл бұрын

    Do u need account password ??

  • @ZellMusic

    @ZellMusic

    Жыл бұрын

    Can I please get the link to which python application you used?

  • @codebasics
    @codebasics3 жыл бұрын

    ⭐️🔗 Bug Wars, An Epic Battle:kzread.info/dash/bejne/eXhhyNOje6nJgKw.html

  • @Vectron_Of_Cybertronica

    @Vectron_Of_Cybertronica

    2 жыл бұрын

    Great Video!! Is it possible to write a program that automatically post stories of a certain users new posts? Would be interesting!!

  • @sudeep246

    @sudeep246

    2 жыл бұрын

    what is that purple box at 1:11 where u have put those codes....i am struck at there

  • @seltik5678

    @seltik5678

    2 жыл бұрын

    @@sudeep246 you go into command prompt and paste the code

  • @NishantCosmos
    @NishantCosmos2 жыл бұрын

    dude you guyz just show the good part, i spent hours fixing their shitty bugs.

  • @HIDPCM
    @HIDPCM2 жыл бұрын

    Excellent! this is my fastest suscribe in youtube.!!! At first minute I think " This guy is worth following"

  • @stronzateinternet9867
    @stronzateinternet98672 жыл бұрын

    thank you so much for this video! Can you say which function I have to use to automatize likes to people I want? Thank you

  • @dharagajera2902
    @dharagajera29022 жыл бұрын

    Wohho.. Amazing video and fall in love with python now Keep motivating

  • @hueguy
    @hueguy3 жыл бұрын

    Very entertaining and informative at the same time. Thank you for the quick tutorial!

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @LifeCatalystAditi
    @LifeCatalystAditi2 жыл бұрын

    Awesome content 🙂🤗

  • @MasculineFortitudeX
    @MasculineFortitudeX3 жыл бұрын

    ayyyyy this is awesome thanks

  • @colossicus555
    @colossicus5552 жыл бұрын

    Dude youre blowing my mind

  • @shauryayamdagni
    @shauryayamdagni3 жыл бұрын

    i was searching for this thanks a lot

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @utkarshsanwal9630
    @utkarshsanwal96303 жыл бұрын

    Thanks Sir for giving this information of python packages for automation. Could you please make other python automation videos on Linux.

  • @QJI394
    @QJI3943 жыл бұрын

    Is there a "shield" code that would make the bot "invisible" to the social media script detection algorithm? the same way little snitch software works to block certain communications with other software?

  • @oafish2055

    @oafish2055

    2 жыл бұрын

    @Crying Sunflower yes you can

  • @oafish2055

    @oafish2055

    2 жыл бұрын

    @Crying Sunflower i am not sure but i guess you can do web scrapping to collect data and make a excel sheet am pretty new to this stuff but am positive that you can do it :D just try

  • @islamwascience7417
    @islamwascience7417 Жыл бұрын

    Understood, Special thanks from Afghanistan ❤️

  • @tatau178
    @tatau178 Жыл бұрын

    very good, how can i set that the bot is liking hastags for example?

  • @carlaheywood
    @carlaheywood Жыл бұрын

    Great video! This library did not work for me though. Another video said it's now blocked by instagram. Trying to figure this out still

  • @GmMiras
    @GmMiras3 жыл бұрын

    great technique not answering errors sir what is ds key user it says cookie and some other errors

  • @FDR_alex
    @FDR_alex3 жыл бұрын

    Thanks for the simple video! Good job!

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @sudeep246

    @sudeep246

    2 жыл бұрын

    @@codebasics what is that purple box at 1:11 where u have put those codes....i am struck at there

  • @ChrisBMobiusman
    @ChrisBMobiusman6 ай бұрын

    How do I write a script that just shows my reels and updates them as I post on a monitor I have connected with raspberry pi? I need it for an art show

  • @HardCloserTV
    @HardCloserTV3 жыл бұрын

    Very nice vid, excelente video ! Question how do I storage the follower's users whit pandas? Gracias!

  • @alexanderarana4416
    @alexanderarana44162 жыл бұрын

    Hello, I dont know if you answer questions, but when I run this code, I get "Process finished with exit code 0" nothing happens. I downloaded and installed the pip install.

  • @TechNerd1124
    @TechNerd112423 күн бұрын

    oh my goodness that little Yoda ! ❤❤

  • @sudeep246
    @sudeep2462 жыл бұрын

    what is that purple box at 1:11 where u have put those codes....i am struck at there

  • @teobellverwhite3562

    @teobellverwhite3562

    2 жыл бұрын

    command prompt

  • @shreyanshjasoria9514
    @shreyanshjasoria95142 жыл бұрын

    Hey, @codebasics a question, can we remove our followers whom I don't follow back if yes, the code please 🙏🏻🙏🏻

  • @RizwanAli-ki3bx
    @RizwanAli-ki3bx3 жыл бұрын

    how can we read the received messages? How we can check that the user read our message or not? How we can delete unread messages? I'll be thankfull if you can provide any solution to this.

  • @codebusters007
    @codebusters007 Жыл бұрын

    Hi, I'd like to get all the post captions from someone's account. Is this something I can do with it?

  • @prakshaljain7381
    @prakshaljain7381 Жыл бұрын

    Can we add background musics in posts with the help of instagram music link?

  • @eal300
    @eal3003 жыл бұрын

    Can u teach how to use the stories downloader?

  • @shoubhik
    @shoubhik Жыл бұрын

    it's so interesting! is it possible to update instagram bio as well ?????

  • @muhammadalwanfauzi1714
    @muhammadalwanfauzi17142 жыл бұрын

    Exception has occurred: ModuleNotFoundError (note: full exception trace is shown but execution is paused at: ) No module named 'instabot'

  • @taimanchan9663
    @taimanchan96633 жыл бұрын

    Do we have the way to get the received messages which are sent from other people?

  • @SoloTheStaticHater2810
    @SoloTheStaticHater28102 жыл бұрын

    can u verify ur instagram account using python..if u cn, pls show us how

  • @Cleartech.
    @Cleartech. Жыл бұрын

    I have some questions since instagram can easily banned you like how many messages we can send in every cycle ?

  • @Bootloaders
    @Bootloaders Жыл бұрын

    does this library still work? I'm having trouble getting it to login to my account.

  • @TanmaYTIndia
    @TanmaYTIndia Жыл бұрын

    is this login safe or user's account is logged in others pc??

  • @christianmusiccafe7336
    @christianmusiccafe73363 жыл бұрын

    Thanks for this video

  • @codebasics

    @codebasics

    3 жыл бұрын

    Most welcome

  • @mounirmca1074
    @mounirmca10743 жыл бұрын

    C'est très cool j'ai beaucoup aimé

  • @imadiman528
    @imadiman52811 ай бұрын

    Thanks a lot I have a question How can we send a message in another language rather than English because when I try to write a string in another language it has an error . Could you help me to solve this guys

  • @majidmb6098
    @majidmb60987 ай бұрын

    can we use python for solve instagram issue??

  • @titoanimation
    @titoanimation3 жыл бұрын

    First of all great video. Issue: After running the code the first time it works but after that it prints out an error mostly according to cookies.. I found out that the program creates an config folder where you it safes all the process, after deleting it i can run the code successfully. Question: Is there something i have to change in my code after the first time. If not is there a way to disable this config folder.

  • @saivamshi1768

    @saivamshi1768

    3 жыл бұрын

    Brother, how to overcome that error . Can you explain?

  • @ANISHKUMAR-cr1po

    @ANISHKUMAR-cr1po

    3 жыл бұрын

    Thank you so much brother i am looking for this error now i get the error solution ❤️.. 🙏

  • @linxx1184

    @linxx1184

    3 жыл бұрын

    @@saivamshi1768 locate the "config" in the scripts working directory then delete it. Re-run code and error should be gone. hope that helps, as it worked for me

  • @albzvava3746

    @albzvava3746

    3 жыл бұрын

    The Problem is at the api_login.py file Got to line 352,353,354 and comment them with an #

  • @stubby2024

    @stubby2024

    2 жыл бұрын

    @@albzvava3746 It doesn't work. it just sends back another massive error

  • @akhil6377
    @akhil63773 жыл бұрын

    Can i log in two accounts at the same time?

  • @B67vlogs
    @B67vlogs Жыл бұрын

    in which application did you download pip instabot

  • @Theonegamefreak
    @Theonegamefreak2 жыл бұрын

    how do i upload the oldest photo to newest using a loop?

  • @singhayush-vr2ib
    @singhayush-vr2ib2 жыл бұрын

    Can I upload Profile picture on Instagram via python

  • @shrutichavan6066
    @shrutichavan60663 жыл бұрын

    For this please give ieee paper link for mini project. Give more information for mini project.

  • @sprittube7237
    @sprittube72373 жыл бұрын

    Always love your videos...🙏

  • @jappiemoto
    @jappiemoto3 жыл бұрын

    Were do i install the library in the idle shell thingy or somewhere else? I doesn’t work for me

  • @koekjwwn

    @koekjwwn

    7 ай бұрын

    do u use anaconda?

  • @user-hr7hl7gk1w
    @user-hr7hl7gk1w Жыл бұрын

    How would I import the instabot onto my Mac. Please help!!

  • @being_ganguly
    @being_ganguly2 жыл бұрын

    I have successfully done this code first time but for next time it coming errors. Do I have to install OS library?

  • @ronitplays1806
    @ronitplays18063 жыл бұрын

    how can we make insta account in bulk

  • @harsh7338
    @harsh73383 жыл бұрын

    Thanks bro

  • @hyppler2241
    @hyppler2241 Жыл бұрын

    is it possible to filter to "is private" and "username" data

  • @khizerali7138
    @khizerali713811 ай бұрын

    where exactly do you copy the link?

  • @worlblewos1676
    @worlblewos16762 ай бұрын

    How to make a loop to keep uploading the picture or any post

  • @aneeshbhattacharjee1197
    @aneeshbhattacharjee11972 жыл бұрын

    Where did you paste the instagram bot to download it sir?

  • @harshitaupadhyay7872

    @harshitaupadhyay7872

    Жыл бұрын

    press window+r,cmd and paste

  • @hasibulrahaman4796
    @hasibulrahaman47963 жыл бұрын

    Nice video good job

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @Jonnatancp
    @Jonnatancp3 жыл бұрын

    how did you hide the letters on your password?

  • @amirtarashkar5823
    @amirtarashkar58232 жыл бұрын

    Very good

  • @karlakavran2997
    @karlakavran29973 жыл бұрын

    awesome

  • @nubenube8952
    @nubenube89523 жыл бұрын

    Awesome

  • @syedalinaqi6274
    @syedalinaqi62743 жыл бұрын

    upload_video is not working for me. Can you please create a video to upload video on Instagram using python as well ?

  • @amoramumpuni2082
    @amoramumpuni20823 жыл бұрын

    Thanks youu

  • @howarddelosreyes463
    @howarddelosreyes4632 жыл бұрын

    any idea on how I can get username of people who commented on my post?

  • @minugogoi7612
    @minugogoi76123 жыл бұрын

    Thanks to you sir

  • @codebasics

    @codebasics

    3 жыл бұрын

    Glad it was helpful!

  • @anthonymosleyiii499
    @anthonymosleyiii4992 жыл бұрын

    This is exactly why I love coding look how simple it makes everything !

  • @fijaya
    @fijaya3 жыл бұрын

    how to auto story scheduled sir?

  • @rainyday7919
    @rainyday79192 жыл бұрын

    If the profile is private, does this still work?

  • @prajwalbajpai2010
    @prajwalbajpai20103 жыл бұрын

    where have u pasted the instabot installation code?

  • @Sunit_Kumar

    @Sunit_Kumar

    2 жыл бұрын

    CMD

  • @aurindesai9795

    @aurindesai9795

    2 жыл бұрын

    Of course in a interpreter it works good on Sublime text 3 or visual studio

  • @amans124

    @amans124

    2 жыл бұрын

    terminal or cmd

  • @Sunit_Kumar

    @Sunit_Kumar

    2 жыл бұрын

    @@amans124 cmd

  • @tarunm
    @tarunm3 жыл бұрын

    dont use this on an account which you are trying to promote as it reduces the exposure of your account to new people as instagram feels your account is a bot

  • @uxninja7629

    @uxninja7629

    3 жыл бұрын

    is there a thing like shadow ban?

  • @tarunm

    @tarunm

    3 жыл бұрын

    @@uxninja7629 its not like a shadow ban , basically instagram wont try to make your account reach more people. They even disabled their api

  • @uxninja7629

    @uxninja7629

    3 жыл бұрын

    @@tarunm damn,, they want people to just sit down and use that stupid app 24/7,,

  • @tarunm

    @tarunm

    3 жыл бұрын

    @@uxninja7629 yesh its just business and how the more they can keep you hooked to it the more they earn from ads. Watch the documentary The social dilemma on netflix it exposes corps like this

  • @uxninja7629

    @uxninja7629

    3 жыл бұрын

    @@tarunm yea I have man deleted all this last year but to run any business you bloody damn need them, its vicious circle

  • @mostafamarei2849
    @mostafamarei28493 жыл бұрын

    very good

  • @minhaj6211
    @minhaj62113 жыл бұрын

    Sir, I love your videos. I learnt a lot watching your machine learning videos. You have an amazing power to explain things such a way we can never forget. With due respect, please do not use 'less line formula' to attract only beginners and to get more views. Don't promote coding videos by line numbers, please. Do what you have always been doing, making complex topics easier. Thank you.

  • @codebasics

    @codebasics

    3 жыл бұрын

    ashraf, sure. I totally understand that complex -> simple is my key selling point. however I thought it would be cool to make people realize that they can so *cool stuff* in python with few lines of code hence I started these kind of videos but my main (complex->simple) videos will keep on coming :)

  • @tipsbypiyush
    @tipsbypiyush3 жыл бұрын

    sir its not work in my pc i dont under stand why it show key error 'ds user ' some tihng like that plzzzzzzzzzz help me

  • @Jaszleemin
    @Jaszleemin3 жыл бұрын

    How to get notifications on the people you are following on Instagram?

  • @nameermohtisham
    @nameermohtisham10 ай бұрын

    Sir does instagram suspend the account on using this

  • @jappiemoto
    @jappiemoto3 жыл бұрын

    Is it secure? Like i guess it’s running though a server of some sorts or external input, if yes so people can acces my profile with my password if they wanted to? Or is it run only on my computer?

  • @1minutechess

    @1minutechess

    3 жыл бұрын

    its secure fully

  • @MrPK-en6nv

    @MrPK-en6nv

    2 жыл бұрын

    @@1minutechess No I don't particularly think so, because the 3rd party server is in between Instagram and Programmer.

  • @vishalrana670
    @vishalrana6703 жыл бұрын

    Great

  • @parthpathak-studysupport6173
    @parthpathak-studysupport61733 жыл бұрын

    gREAT VIDEO

  • @mr_ishu__
    @mr_ishu__ Жыл бұрын

    Can i delete my Instagram account using instabot method by using pycharm??

  • @kennyackerman1938
    @kennyackerman19383 жыл бұрын

    are you running a virtual machine running ubuntu? if so is it necessary to create one?

  • @user-ug3qz4kr1v
    @user-ug3qz4kr1v10 ай бұрын

    Heyy Can you help me how to do a automation for getting followers?

  • @dilipa878
    @dilipa8783 жыл бұрын

    Super

  • @jackman4004
    @jackman40043 жыл бұрын

    How about upload to story?

  • @GabrielCasote
    @GabrielCasote3 жыл бұрын

    thanks a lot

  • @codebasics

    @codebasics

    3 жыл бұрын

    Happy to help

  • @flilbarehub9811
    @flilbarehub98112 жыл бұрын

    How can I add/sign in to more than one profile so that when I follow a person all the account I'm signed in to follows that person. Secondly, can a UI be created to make this code more convenient to use? Sorry I'm new to coding.

  • @exobooster

    @exobooster

    2 жыл бұрын

    Did you find a solution to your first question ? I'm also curious on how to do that

  • @a036nikhilsannat4

    @a036nikhilsannat4

    2 жыл бұрын

    @@exobooster u found? i am also curious

  • @sheikhameen8425
    @sheikhameen84252 жыл бұрын

    Sir please make an video on increasing followers

  • @eddiehsu392
    @eddiehsu3922 жыл бұрын

    getting a "ds_user" How do I fix this?

  • @raduchivu3713
    @raduchivu37132 жыл бұрын

    BIG LIKE :)

  • @prince_gmng
    @prince_gmng2 жыл бұрын

    Exception has occurred: KeyError 'ds_user' how i remove this error, any one can help me plx

  • @aa99aa99
    @aa99aa992 жыл бұрын

    i can't install "pip install instabot", t create me an error like pip isn't recognize as comand in-out

  • @mamateathecoder6177

    @mamateathecoder6177

    2 жыл бұрын

    Download python again and put the installation on custom then click all the boxes then install

  • @karlakavran2997
    @karlakavran29973 жыл бұрын

    super

  • @VeNomOp12
    @VeNomOp122 жыл бұрын

    How to download python sir plz Tell me

  • @3liz1990
    @3liz19902 жыл бұрын

    Hello sir! May I ask if this bot can auto search with given keywords and blacklist the pages? Many thanks!

  • @abcdefghijkllmnopqrst
    @abcdefghijkllmnopqrst Жыл бұрын

    Hello is there any way I can automate this to create accounts massively?

  • @ivansanzeev

    @ivansanzeev

    Жыл бұрын

    Yes you can though not good practice 😮

  • @lillol3245
    @lillol3245 Жыл бұрын

    Is there a way to make a "instagram people crawler bot" with this library which searches for people with certain gender in certain city and follows them? If someone knows more, pls write here

  • @aa99aa99
    @aa99aa992 жыл бұрын

    it doesn't work... someone can help me?

  • @devavanivani576
    @devavanivani5763 жыл бұрын

    Nice

  • @vijjukarri6230
    @vijjukarri6230 Жыл бұрын

    How to get all the dm's from our Instagram account?

  • @rifeni
    @rifeni Жыл бұрын

    how to code using coocies ?

  • @Lifeon7113
    @Lifeon7113 Жыл бұрын

    Brother I have some queries help me

  • @muhdshibil586
    @muhdshibil586 Жыл бұрын

    sir no module found sir can u please help me with me this