
To resolve the project dependencies, please use yarn as shown below before deploying the service.įor the execution of the functions to work you need to set some environmental configuration in the file oauth-token-api/.
Festify on home server install#
Make sure you install the Serverless Framework properly! The SDK will POST application/x-To easily implement them, we built a Serverless service for AWS Lambda over in the oauth-token-api folder.
Festify on home server code#
These come in the form of two HTTP endpoints, one for the auth code exchange, and the other one for access token refresh. The authorization code flow requires server code for security. Make sure you register the exact value you use within your code (including trailing slashes, etc.). You need to register your custom redirect URL within the Spotify Developer console. Take a look at this repository to see how it's done for both cases. If you want to use Chrome Custom Tabs (optional, but 110% nice), you must also register the URL scheme and path you will be redirected to within the AndroidManifest.xml file. You need to register the callback protocol inside the App ist so that iOS knows which app to start when it is redirected when the authentication is done. Spotify says that they own 36 of the worldwide streaming market. More than 165 million of these monthly users pay for >Spotify Premium. The plugin uses custom URL schemes (universal links support will follow) to redirect back from the browser into the app. More than 365 million active monthly users on Spotify. Therefore, additional preparation in addition to installing the plugin is required. You’re then presented with a festival line-up featuring all your favs from that time period. Then select if you want your festival line-up to include your most listened to artists from the last month, six months, or all time. This allows you to obtain access and refresh tokens for user related-actions (such as viewing and modifying their library, streaming tracks via the SDKs, etc.). Firstly, head over to the website and click ‘login with Spotify. The plugin implements the OAuth Authorization Code flow for the Spotify API.

Once on the Festify site, click 'Login with Spotify,' enter your Spotify login credentials, and tap the green 'Agree' button to link your account. Head to Google (or any search engine) from your phone or computer and search for 'Festify.' It should show up as the first result, with the correct website being the URL that starts with 'salty-beach.' It may look like a random spam URL, but that's the website you'll want to visit. Google Chrome, Firefox or Safari are really good choices. Cordova plugin add cordova-spotify-oauth Usage Getting started with Festify is easy enough. Oh, no Unsupported Browser Seems like you're using an unsupported browser.
