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

Поділитися
Вставка
  • Опубліковано 26 січ 2021
  • 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'.

КОМЕНТАРІ • 647

  • @codebasics
    @codebasics  2 роки тому +8

    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?

  • @HIDPCM
    @HIDPCM 2 роки тому +3

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

  • @NishantCosmos
    @NishantCosmos 2 роки тому +9

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

  • @stronzateinternet9867
    @stronzateinternet9867 2 роки тому +1

    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
    @dharagajera2902 2 роки тому +4

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

  • @hueguy
    @hueguy 3 роки тому +19

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

  • @utkarshsanwal9630
    @utkarshsanwal9630 3 роки тому +19

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

  • @QJI394
    @QJI394 2 роки тому +5

    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 11 місяців тому

    Understood, Special thanks from Afghanistan ❤️

  • @shauryayamdagni
    @shauryayamdagni 2 роки тому

    i was searching for this
    thanks a lot

  • @colossicus555
    @colossicus555 2 роки тому

    Dude youre blowing my mind

  • @titoanimation
    @titoanimation 3 роки тому +16

    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 роки тому +2

      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 роки тому +1

      @@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 роки тому +2

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

  • @tatau178
    @tatau178 10 місяців тому

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

  • @HardCloserTV
    @HardCloserTV 3 роки тому

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

  • @FDR_alex
    @FDR_alex 3 роки тому +3

    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

  • @taimanchan9663
    @taimanchan9663 3 роки тому

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

  • @LifeCatalystAditi
    @LifeCatalystAditi 2 роки тому

    Awesome content 🙂🤗

  • @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

  • @shreyanshjasoria9514
    @shreyanshjasoria9514 2 роки тому

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

  • @alexanderarana4416
    @alexanderarana4416 Рік тому

    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.

  • @GmMiras
    @GmMiras 3 роки тому

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

  • @TanmaYTIndia
    @TanmaYTIndia Рік тому +1

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

  • @MasculineFortitudeX
    @MasculineFortitudeX 3 роки тому

    ayyyyy this is awesome thanks

  • @ChrisBMobiusman
    @ChrisBMobiusman 4 місяці тому

    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

  • @tarunm
    @tarunm 3 роки тому +25

    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 роки тому +2

      @@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 роки тому +4

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

    • @tarunm
      @tarunm 3 роки тому +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 роки тому +2

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

  • @RizwanAli-ki3bx
    @RizwanAli-ki3bx 2 роки тому

    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.

  • @sudeep246
    @sudeep246 2 роки тому +2

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

  • @Cleartech.
    @Cleartech. Рік тому

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

  • @SoloTheStaticHater2810
    @SoloTheStaticHater2810 2 роки тому

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

  • @muhammadalwanfauzi1714
    @muhammadalwanfauzi1714 2 роки тому +2

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

  • @shoubhik
    @shoubhik Рік тому

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

  • @anthonymosleyiii499
    @anthonymosleyiii499 2 роки тому +3

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

  • @codebusters007
    @codebusters007 Рік тому

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

  • @jappiemoto
    @jappiemoto 2 роки тому +2

    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 2 роки тому +1

      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.

  • @imadiman528
    @imadiman528 9 місяців тому

    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
    @majidmb6098 5 місяців тому

    can we use python for solve instagram issue??

  • @minhaj6211
    @minhaj6211 3 роки тому +11

    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 роки тому +5

      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 :)

  • @prakshaljain7381
    @prakshaljain7381 Рік тому

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

  • @being_ganguly
    @being_ganguly 2 роки тому

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

  • @Bootloaders
    @Bootloaders Рік тому

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

  • @B67vlogs
    @B67vlogs Рік тому

    in which application did you download pip instabot

  • @singhayush-vr2ib
    @singhayush-vr2ib 2 роки тому +1

    Can I upload Profile picture on Instagram via python

  • @akhil6377
    @akhil6377 3 роки тому

    Can i log in two accounts at the same time?

  • @hyppler2241
    @hyppler2241 Рік тому

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

  • @shrutichavan6066
    @shrutichavan6066 3 роки тому

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

  • @christianmusiccafe7336
    @christianmusiccafe7336 3 роки тому

    Thanks for this video

  • @user-hr7hl7gk1w
    @user-hr7hl7gk1w Рік тому

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

  • @aneeshbhattacharjee1197
    @aneeshbhattacharjee1197 2 роки тому +3

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

  • @mr_ishu__
    @mr_ishu__ Рік тому

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

  • @eal300
    @eal300 2 роки тому

    Can u teach how to use the stories downloader?

  • @Theonegamefreak
    @Theonegamefreak Рік тому

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

  • @jappiemoto
    @jappiemoto 2 роки тому

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

    • @koekjwwn
      @koekjwwn 5 місяців тому

      do u use anaconda?

  • @syedalinaqi6274
    @syedalinaqi6274 2 роки тому

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

  • @mounirmca1074
    @mounirmca1074 3 роки тому +2

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

  • @khizerali7138
    @khizerali7138 10 місяців тому

    where exactly do you copy the link?

  • @flilbarehub9811
    @flilbarehub9811 2 роки тому

    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

  • @ronitplays1806
    @ronitplays1806 2 роки тому +1

    how can we make insta account in bulk

  • @harsh7338
    @harsh7338 2 роки тому

    Thanks bro

  • @prajwalbajpai2010
    @prajwalbajpai2010 2 роки тому +6

    where have u pasted the instabot installation code?

  • @worlblewos1676
    @worlblewos1676 23 дні тому

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

  • @Jonnatancp
    @Jonnatancp 2 роки тому

    how did you hide the letters on your password?

  • @rainyday7919
    @rainyday7919 2 роки тому

    If the profile is private, does this still work?

  • @howarddelosreyes463
    @howarddelosreyes463 2 роки тому

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

  • @tipsbypiyush
    @tipsbypiyush 3 роки тому

    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

  • @nubenube8952
    @nubenube8952 3 роки тому

    Awesome

  • @karlakavran2997
    @karlakavran2997 3 роки тому

    awesome

  • @sprittube7237
    @sprittube7237 3 роки тому

    Always love your videos...🙏

  • @minugogoi7612
    @minugogoi7612 3 роки тому

    Thanks to you sir

  • @nameermohtisham
    @nameermohtisham 8 місяців тому

    Sir does instagram suspend the account on using this

  • @Jaszleemin
    @Jaszleemin 3 роки тому

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

  • @amirtarashkar5823
    @amirtarashkar5823 2 роки тому

    Very good

  • @kennyackerman1938
    @kennyackerman1938 3 роки тому

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

  • @fijaya
    @fijaya 3 роки тому

    how to auto story scheduled sir?

  • @sheikhameen8425
    @sheikhameen8425 2 роки тому

    Sir please make an video on increasing followers

  • @amoramumpuni2082
    @amoramumpuni2082 3 роки тому

    Thanks youu

  • @abcdefghijkllmnopqrst
    @abcdefghijkllmnopqrst Рік тому +1

    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

  • @3liz1990
    @3liz1990 2 роки тому +1

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

  • @user-ug3qz4kr1v
    @user-ug3qz4kr1v 9 місяців тому

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

  • @mytempo4693
    @mytempo4693 Рік тому +1

    Hello sir, is there any way I can increase views on Instagram Reels using Python code? Can you provide some code or pointers to get more views on my Reels?

  • @vishalrana670
    @vishalrana670 3 роки тому

    Great

  • @hasibulrahaman4796
    @hasibulrahaman4796 3 роки тому

    Nice video good job

  • @mostafamarei2849
    @mostafamarei2849 3 роки тому

    very good

  • @aa99aa99
    @aa99aa99 2 роки тому +1

    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

  • @milesrichie5750
    @milesrichie5750 2 роки тому

    I'm getting 429 error after only trying to login in once. How do you resolve this?

  • @parthpathak-studysupport6173
    @parthpathak-studysupport6173 2 роки тому

    gREAT VIDEO

  • @prince_gmng
    @prince_gmng 2 роки тому

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

  • @iamphyton
    @iamphyton 2 роки тому

    excellent video! while i ran the code to uploade the image, i got this error message: "ERROR - Request returns 429 error!" and kept going to sleep for 5mins and more. i'm using VScode.

  • @B67vlogs
    @B67vlogs Рік тому

    it will be better for you to goo one by one step for our easy

  • @msalamrubics
    @msalamrubics 2 роки тому +2

    Very interesting... it was working fine.. but then i'm getting this error
    ERROR - Request returns 429 error!
    WARNING - That means 'too many requests'. I'll go to sleep for 5 minutes.
    how do you get around it?

    • @theChillCoding
      @theChillCoding 2 роки тому

      it seems like you are requesting huge amount of data from instagram at once. so it will fetch, suppose for 10 mins and take 2-5 mins break and then fetch again.

  • @unknownperson-ps2ky
    @unknownperson-ps2ky 8 місяців тому

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for patchelf
    Failed to build ninja patchelf
    ERROR: Could not build wheels for ninja, patchelf, which is required to install pyproject.toml-based projects
    plzz tell me how to fix this error while installing instabot in termux or in pydroid3 app

  • @vijjukarri6230
    @vijjukarri6230 Рік тому

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

  • @sahajchouhan3127
    @sahajchouhan3127 3 роки тому

    What's the Command to change profile picture

  • @GabrielCasote
    @GabrielCasote 3 роки тому

    thanks a lot

  • @dilipa878
    @dilipa878 3 роки тому

    Super

  • @abraarz2971
    @abraarz2971 2 роки тому +13

    Is there any chance of getting banned if I use this?

  • @VeNomOp12
    @VeNomOp12 2 роки тому

    How to download python sir plz Tell me

  • @jenilmangukiya525
    @jenilmangukiya525 3 роки тому

    Sir can we integrate it with django.....?

    • @ericssoncui6199
      @ericssoncui6199 3 роки тому

      U can try to add the script into the route, if user did something, u use it to respond

  • @broadcast2638
    @broadcast2638 Рік тому

    Hello, Nice tutorial, how safe and secure using these library? As we are given the credentails as parameter to methods.

  • @karlakavran2997
    @karlakavran2997 3 роки тому

    super