Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/sattyagrah/twitter-bot
- Owner: sattyagrah
- Created: 2020-09-24T17:05:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-24T17:06:05.000Z (over 4 years ago)
- Last Synced: 2024-08-17T12:48:28.332Z (5 months ago)
- Topics: bot, python, twitter
- Language: Python
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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/)