<?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: Does Client Credential flow allow add a track to queue? in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Does-Client-Credential-flow-allow-add-a-track-to-queue/m-p/5481644#M7492</link>
    <description>&lt;P&gt;No, adding tracks to queue requires authorization, so it requires the implementation of the &lt;A href="https://developer.spotify.com/documentation/general/guides/authorization/code-flow/" target="_blank" rel="noopener"&gt;Authorization Code Flow&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Also, as you can read in that error, that endpoint only works with Spotify Premium accounts.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jan 2023 08:30:20 GMT</pubDate>
    <dc:creator>Ximzend</dc:creator>
    <dc:date>2023-01-02T08:30:20Z</dc:date>
    <item>
      <title>Does Client Credential flow allow add a track to queue?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Does-Client-Credential-flow-allow-add-a-track-to-queue/m-p/5481490#M7490</link>
      <description>&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Spain&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Macbook Pro 13" early 2015&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;macOS Monterey 12.6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Trying to add songs to a queue from Web API to the same Spotify account that i own, but the response is:&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
             "error" : {
               "status" : 403,
               "message" : "Player command failed: Premium required",
               "reason" : "PREMIUM_REQUIRED"
             }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Then i tried in&amp;nbsp;&lt;A href="https://developer.spotify.com/console/post-queue" target="_self"&gt;https://developer.spotify.com/console/post-queue&lt;/A&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;to obtain the token and the format is different and it works.&lt;BR /&gt;&lt;BR /&gt;I don't know how to go trough that, thanks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Jan 2023 20:53:43 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Does-Client-Credential-flow-allow-add-a-track-to-queue/m-p/5481490#M7490</guid>
      <dc:creator>lalolamataro</dc:creator>
      <dc:date>2023-01-01T20:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Does Client Credential flow allow add a track to queue?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Does-Client-Credential-flow-allow-add-a-track-to-queue/m-p/5481644#M7492</link>
      <description>&lt;P&gt;No, adding tracks to queue requires authorization, so it requires the implementation of the &lt;A href="https://developer.spotify.com/documentation/general/guides/authorization/code-flow/" target="_blank" rel="noopener"&gt;Authorization Code Flow&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Also, as you can read in that error, that endpoint only works with Spotify Premium accounts.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2023 08:30:20 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Does-Client-Credential-flow-allow-add-a-track-to-queue/m-p/5481644#M7492</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2023-01-02T08:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Does Client Credential flow allow add a track to queue?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Does-Client-Credential-flow-allow-add-a-track-to-queue/m-p/5504839#M7970</link>
      <description>&lt;P&gt;What I want to implement is a website where users can search for a song and add it to the playback queue of a bar, without giving them access to the Spotify account. What's the point of using&amp;nbsp;&lt;A href="https://developer.spotify.com/documentation/general/guides/authorization/code-flow/" target="_blank" rel="noopener nofollow noreferrer"&gt;Authorization Code Flow&lt;/A&gt;, if the account where the song is going to be added to the queue is always going to be the same?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 21:49:11 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Does-Client-Credential-flow-allow-add-a-track-to-queue/m-p/5504839#M7970</guid>
      <dc:creator>lalolamataro</dc:creator>
      <dc:date>2023-02-13T21:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Does Client Credential flow allow add a track to queue?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Does-Client-Credential-flow-allow-add-a-track-to-queue/m-p/5504974#M7975</link>
      <description>&lt;P&gt;Because else anyone could add tracks to the queue of everyone. So, every user need to login at least once to get the required token(s).&lt;/P&gt;&lt;P&gt;If you let the program store the Access token and Refresh token into for example a file or a cookie, it can use them for further Authorization after the Access token expired after one hour.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. I don't know which programming language you are using, but maybe there's a &lt;A href="https://developer.spotify.com/documentation/web-api/libraries/#:~:text=reviewed%20by%20Spotify.-,Web%20API%20Wrappers,-.NET" target="_blank" rel="noopener"&gt;Web API Wrapper&lt;/A&gt; for it that can make everything easier.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 06:34:15 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Does-Client-Credential-flow-allow-add-a-track-to-queue/m-p/5504974#M7975</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2023-02-14T06:34:15Z</dc:date>
    </item>
  </channel>
</rss>

