How to Create a Twitter Reply Bot using Tweepy [Python]

Поділитися
Вставка
  • Опубліковано 10 вер 2024
  • How to Create a Twitter Reply Bot using Tweepy [Python]
    - a video by CreepyD
    In today's tutorial video, we'll be creating a Twitter Reply Bot that will reply to tweets. It will reply to mentions, to be more specific. I'll show you how to create a Twitter Bot that replies.
    GitHub - github.com/Cre...
    Support me on Patreon - / creepyd
    ____________
    USEFUL LINKS & DOCUMENTATIONS:
    Twitter Developer Platform - / en
    Tweepy Documentation - docs.tweepy.or...
    Tweepy PyPI - pypi.org/proje...
    ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅
    ____________
    OTHER TUTORIALS:
    Twitter Bot Tutorial in Python [Selenium] - • How to Create a Twitte...
    Tweepy Setup Tutorial - • How to Set Up Tweepy [...
    Tweepy Beginner Tutorial - • Beginner Tweepy Tutori...
    ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅
    ____________
    OTHER MEDIA:
    Instagram - / creepyd_studios
    Twitter - / creepyd_studios
    Discord - / discord
    ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅

КОМЕНТАРІ • 33

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

    how do i make it do the bot searches for only words in the 'words' array and not looking for the mentions with the words in the words array

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

    Your videos have been really helpful for me. I'm not a coder myself but through trial and error after watching your videos i was able to figure quite a few things. I just wanted to ask one thing that you didn't address in the video. What function do we need to write to make the bot reply to tweets from other users (based on either keywords or hashtags)

    •  2 роки тому

      Did You find out the way how to auto reply to a # and @ you need?

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

      @ nope

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

    How come twitter to suspend my api account? I'm using student acct and doing comment reply and setting time above 100 seconds ..

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

      I have no idea, sorry man. But that really sucks, maybe something in your application got accepted, and then rejected a while after? Not too sure... The main reason according to Google, is that the account was spammy, or if it breaks other Twitter rules, maybe some other rule was broken? Sorry for not being much help, hope it gets fixed though

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

    Is it possible to reply to other's people posts instead of just our own?

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

    Hey, it says when i run the code that i need elevaded access is there anyone else that have this problem

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

    Thanks for the detailed video. is there any way to get the tweet id of our each reply ?

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

    can you make one that replies to people when they use a certan hastag/keyword

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

    Hey, is it also possible to stream the tweets and then reply to them?

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

    Anyway how to fix Attribute Error: ‘API’ object has no attribute ‘me’

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

      Make sure to use the same version of Tweepy that I used, you can find the version on the Tweepy installation tutorial

  • @ShimoNova-R.H.D
    @ShimoNova-R.H.D 3 роки тому

    Great vid

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

    there is a company holding a give away, whoever sends the most tweets will be the winner. How do I send a large number of replies

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

    how to setup reply by the time, for example I want to reply to a 1 hour setup tease automatically 10 or 100 times?

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

      Sorry, I don't think I fully understand, could you maybe give another example?

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

      @@CreepyD246 I want to reply a tweet every 1 hours, continuous, automaticaly, for 10 or 100 times reply. like a spam bot

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

      @@bidadarikeseleo3422 I think I see, and it's a bit difficult to explain over UA-cam comments, but you'd need to have some kind of delay, maybe time.sleep(3600) - this will set a delay of 1 hour.
      You'd also need a counter variable to count the amount of replies you have made and then when the desired amount has been reached you can loop back at the start of the loop.
      Hopefully I understood correctly

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

      @@CreepyD246 yep you correct

  • @user-zl6vd5gi8i
    @user-zl6vd5gi8i 2 роки тому

    Hi. Your video helped me a lot. Thank you. However, an error occurs in [bot_id = int(api.me().id_str)] due to a problem. Can you help me?

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

      Yes, can you address the error mentioned above @creepyD ?

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

      @@MrAlife4life Replace "me" with "verify_credentials"

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

      @@nononesenselyrics9613 Thanks, I ended up searching it on tweepy. Thanks for replying!

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

    can u make a tiktok follower bot or report spam bot for tiktok?

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

    god

  • @Aetheries
    @Aetheries 11 місяців тому

    is this still working?

    • @CreepyD246
      @CreepyD246  11 місяців тому +1

      There's a newer series available. Be aware though, that even the new series was made before Elon Musk took over, so you might have to change some things here and there.

    • @Aetheries
      @Aetheries 11 місяців тому

      @@CreepyD246 is it always changing?

  • @menasaurio
    @menasaurio 17 днів тому

    Chat gpt brought me here

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

    Nijvaaglu artha aagthilla😂

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

    how do i start it after i changing the key/api.acceses/secret????

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

      Re-insert them into the bot