<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: When to use spotify web playback sdk vs web api in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5470267#M7290</link>
    <description>&lt;P&gt;Hi, my app is a web app using nextjs. I managed to figure it out, i initialised spotify player in a parent component, passed down the device id in props and then used web api in child component to send a request to play a track using the device id. Works pretty well now!&lt;/P&gt;</description>
    <pubDate>Thu, 08 Dec 2022 12:05:25 GMT</pubDate>
    <dc:creator>strangecarr</dc:creator>
    <dc:date>2022-12-08T12:05:25Z</dc:date>
    <item>
      <title>When to use spotify web playback sdk vs web api</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5468752#M7258</link>
      <description>&lt;P&gt;Hi, I'm developing a music events listing web app using nextjs, and supabase as backend. I'm trying to add functionality where if a user uses spotify (and they have a premium account) to authenticate with my app, they can stream music directly from the app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting a bit confused on whether I should create a custom player using web playback sdk within a react component that renders with each event listing, or whether I should use the spotify web api.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The web playback sdk docs say something like use another client to start playback and then select the broswer as the device. I don't really want to do this, just play directly from the app. Any advice please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 16:01:07 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5468752#M7258</guid>
      <dc:creator>strangecarr</dc:creator>
      <dc:date>2022-12-05T16:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: When to use spotify web playback sdk vs web api</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5469143#M7266</link>
      <description>&lt;P&gt;Sadly, Spotify discontinued the ability to stream directly from your Android or iOS app.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 12:01:52 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5469143#M7266</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2022-12-06T12:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: When to use spotify web playback sdk vs web api</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5470267#M7290</link>
      <description>&lt;P&gt;Hi, my app is a web app using nextjs. I managed to figure it out, i initialised spotify player in a parent component, passed down the device id in props and then used web api in child component to send a request to play a track using the device id. Works pretty well now!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 12:05:25 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5470267#M7290</guid>
      <dc:creator>strangecarr</dc:creator>
      <dc:date>2022-12-08T12:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: When to use spotify web playback sdk vs web api</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5470490#M7304</link>
      <description>&lt;P&gt;The &lt;A href="https://developer.spotify.com/documentation/android/guides/application-lifecycle/" target="_blank" rel="noopener"&gt;App Remote SDK&lt;/A&gt; can be used with both Premium and Free users and has the same functionality. Now you are limiting the 'streaming' (that's actually also a remote) functionality only to Spotify Premium subscribers.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 17:44:34 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5470490#M7304</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2022-12-08T17:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: When to use spotify web playback sdk vs web api</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5632222#M10638</link>
      <description>&lt;P&gt;Hey strangecarr can you please share your code I’m trying to implement the web playable sdk as well using NextJs but I’m struggling&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 05:40:27 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5632222#M10638</guid>
      <dc:creator>FabGotbig</dc:creator>
      <dc:date>2023-09-06T05:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: When to use spotify web playback sdk vs web api</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5633542#M10674</link>
      <description>&lt;P&gt;Hi strangecarr, are you referring to the device id of the spotify client that has connected to your app or a device id that belongs to the web player instance you've created in your app? If it's the id of your web player instance, where do you get this from?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 22:19:57 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5633542#M10674</guid>
      <dc:creator>kumals</dc:creator>
      <dc:date>2023-09-08T22:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: When to use spotify web playback sdk vs web api</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5633670#M10678</link>
      <description>&lt;P&gt;Hi, I found it much easier and better suited for my needs to use the spotify oEmbed API - see on the home page of this app:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.swipeygo.co.uk/" target="_blank"&gt;https://www.swipeygo.co.uk/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(you have to scroll down.- there you can see some live events with spotify icons. if you click the icon a spotify embed appears for music previews).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can also search for events in a location using the form, and then swipe through the events. some events have spotify functionality, as well as youtube previews.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the embed much easier to work with compared with the playback sdk - although I did get it working, I have some code so let me know if you would like me to share (I have to admit I can't quite remember the details of how I got it working!)&lt;/P&gt;</description>
      <pubDate>Sat, 09 Sep 2023 08:24:24 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5633670#M10678</guid>
      <dc:creator>strangecarr</dc:creator>
      <dc:date>2023-09-09T08:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: When to use spotify web playback sdk vs web api</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5633874#M10688</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spotifyScreen.PNG" style="width: 400px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/162369i4CB095B8B2DFAC74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="spotifyScreen.PNG" alt="spotifyScreen.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; Thanks,&amp;nbsp;&lt;SPAN class=""&gt;&lt;A class="" href="https://community.spotify.com/t5/user/viewprofilepage/user-id/25581161" target="_self"&gt;&lt;SPAN class=""&gt;strangecarr&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;, After reading your older post several times, I figured out how to implement it&lt;/P&gt;</description>
      <pubDate>Sat, 09 Sep 2023 21:27:33 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/When-to-use-spotify-web-playback-sdk-vs-web-api/m-p/5633874#M10688</guid>
      <dc:creator>FabGotbig</dc:creator>
      <dc:date>2023-09-09T21:27:33Z</dc:date>
    </item>
  </channel>
</rss>

