Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sattyagrah/twitter-bot

This is a twitter bot example using Tweepy.
https://github.com/sattyagrah/twitter-bot

bot python twitter

Last synced: about 2 months ago
JSON representation

This is a twitter bot example using Tweepy.

Awesome Lists containing this project

README

        

# Twitter Bot

> ![GitHub Logo](https://avatars2.githubusercontent.com/u/37505111?s=60&v=4)

## Tweepy

> Tweepy is open-sourced, hosted on GitHub and enables Python to communicate with Twitter platform and use its API.

### Installation

- Use the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.

```bash
pip install tweepy
```

### Prerequisite

> - You need to have a **[Twitter](https://www.twitter.com/) account**.
>
> - Create a developer account to get [**Twitter API**](https://developers.twitter.com/en/)
>
> - Just note down _**consumer key**_, _**consumer secret**_, _**Access Token**_ & \_**Access Secret Token**
>
> - Bingo!!! You are good to go.

### Usages

```python
import tweepy
import time
```

> and just go with the code.
> Copy and paste all the _Tokens_ whereever specified in the code.
> Enter your _**Search String**_ next to **`search`** & _**number of times**_ next to **`nrt`**.

- Bingo!! Your Tweet got automatically liked.
Go to your [Twitter](https://www.twitter.com/) account and check your liked tweet.

## Contributing

- Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

- Please make sure to update tests as appropriate.

## License

- [MIT](https://choosealicense.com/licenses/mit/)