-
Spotify for Developers からアプリを作成
-
Client ID と Client Secret を
.env
に追加REACT_APP_CLIENT_ID=Client ID
REACT_APP_CLIENT_SECRET=Client Secret
-
yarn
-
yarn build-react
-
yarn build-others
-
dist
を chrome の拡張機能に追加 -
拡張機能 ID を確認し、
.env
をREACT_APP_REDIRECT_URIS=chrome-extension://拡張機能ID/popup.html
を追加 -
Spotify for Developers の
Redirect URIs
にchrome-extension://拡張機能ID/popup.html
を追加 -
yarn build-react
-
yarn build-others
You can control the music playing on Spotify from a chrome extension.