How do you automate Twitter?

How to automatically retweet a twitter page?

  • How to automate the task of retweetsof a page: twitter.com/promotional/sample_page in such a way that whenever there is tweet posted on twitter from that page then the automated script retweeted from my twitter account twitter.com/demo-account/ . Can it be implemented using python or java? Following the attached link: http://www.techcovered.org/how-to-create-your-own-twitter-auto-retweet-bot/

  • Answer:

    You can easily do this in python using https://github.com/geduldig/TwitterAPI. The steps are basically: Authenticate from TwitterAPI import TwitterAPI api = TwitterAPI(consumer_key, consumer_secret, access_token_key, access_token_secret) Grab the tweet you want to retweet Tweet it x = api.request('statuses/update', {'status': the tweets text}) print(x.status_code) It is quite straight forward, I won't spoil it for you posting the full working code.

anoop at Stack Overflow Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.