A Chrome extension that tweets the song you are listening to on Spotify
- Clone this repository and cd to it
- Create a Spotify app from Spotify dashboard and copy the client id
- Build this project with the following command:
yarn && yarn build
- Open
chrome://extensions/
in Google Chrome and load thedist
directory. Clickload unpacked
and selectdist
or drag and dropdist
on the page. - Copy the extension ID in the box of the added extension
- Open your Spotify app settings to input
https://<copied-extension-id>.chromiumapp.org/
toRedirect URIs
and save the settings
Replace<copied-extension-id>
by the extension id you just copied now. For example, when the extension id isehjnkeeomghenaiaaioaabggalacbfbg
, the URL you input ishttps://ehjnkeeomghenaiaaioaabggalacbfbg.chromiumapp.org/
. - Excellent! By clicking the
[S]
icon on toolbar, you can tweet the song you are listening to on Spotify!
A tweet pagehttps://x.com/intet/post
with a song information will be opened. Also, the authorization page where the permission is requested to access your account data will be opened at first.