Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kapooraryan/spotify-twitter-bot
A twitter (music) bot which will tweet out the song currently being listened to on Spotify.
https://github.com/kapooraryan/spotify-twitter-bot
python spotify-web-api twitter-api
Last synced: 14 days ago
JSON representation
A twitter (music) bot which will tweet out the song currently being listened to on Spotify.
- Host: GitHub
- URL: https://github.com/kapooraryan/spotify-twitter-bot
- Owner: kapooraryan
- Created: 2022-08-02T09:41:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-02T10:11:19.000Z (over 2 years ago)
- Last Synced: 2023-05-07T11:28:26.407Z (over 1 year ago)
- Topics: python, spotify-web-api, twitter-api
- Language: Python
- Homepage: https://twitter.com/kapoor_musicbot
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spotify-twitter-bot
A twitter (music) bot which will tweet out the song currently being listened to on Spotify.First things first, go on to https://developer.twitter.com/en and create our application (which will be using the Twitter API) under a Project (and not as a stand-alone app). Now within the Twitter developer portal navigate to Project and change the application's permissions to 'Read and write'. Generate the Keys and Tokens required and store them in a sperate file like, credentials_twt.py .
Move on to https://developer.spotify.com/dashboard/login and get your Client ID and Client Secret. Again, store these in a separate file like, credentials_spot.py .
Import required libraries, [Tweepy](https://www.tweepy.org/) and [Spotipy](https://spotipy.readthedocs.io/en/latest/#installation) .
Have your necessary files like requirements.txt and Procfile for deployment on Heroku.
Run spotify+twitter_bot.py .
Code has been updated upon from https://github.com/haranlakha/spotify-tweet-bot