https://github.com/januff/spotify-liked-songs-export
A Spotify Authorization Code flow using Remix and StepZen.
https://github.com/januff/spotify-liked-songs-export
Last synced: about 1 month ago
JSON representation
A Spotify Authorization Code flow using Remix and StepZen.
- Host: GitHub
- URL: https://github.com/januff/spotify-liked-songs-export
- Owner: januff
- Created: 2022-05-06T19:31:28.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-11T03:31:46.000Z (about 4 years ago)
- Last Synced: 2025-12-29T23:06:00.941Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.26 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Spotify Liked Songs Export
#### Spotify OAuth flow using Remix and GraphQL-as-a-service using StepZen.
- **[How Portable Is Spotify?](overview.md): Exporting My Saved Music**
> I was disappointed to discover, when I tried to migrate my playlists to Tidal, that the free versions of both recommended transfer apps have 250-song restrictions (and the paid versions are subscription apps, billed annually!)
- **[A Spotify OAuth flow in Remix](authflow.md): Using CookieSessionStorage**
> In the Loader for my /callback, I grab the code from the url and query an access token using the Fetch API. That token is immediately extracted, set as a Cookie using getSession, and persisted server-side using commitSession.
- **[Designing a Spotify GraphQL schema with StepZen](stepzen.md): Paginating results**
> This proves immediately useful in the loader for our /tracks route, which uses a while statement to keep track of the returned hasNextPage boolean, until the request is fully depaginated.
- **[Build A Spotify Connected App](https://www.newline.co/courses/build-a-spotify-connected-app): Learn how to build a full stack web app to visualize personalized Spotify data with the help of Node.js, React, Styled Components, and the Spotify Web API.**
> Credit mainly to Brittany Chiang, whose recent newline.co course Build a Spotify Connect App (free online at the moment) is a concise masterclass in best practices for REST API client-building. (And whose code and architecture I used as a starting point.)