<?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: WebPlayer SDK API - play song by #ID in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5372024#M4449</link>
    <description>Thank you very much for all your help.&lt;BR /&gt;&lt;BR /&gt;I wonder can we display some controls? I am looking here&lt;BR /&gt;&lt;A href="https://developer.spotify.com/documentation/web-playback-sdk/reference/" target="_blank"&gt;https://developer.spotify.com/documentation/web-playback-sdk/reference/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But may be there is some already made example with track line and some other buttons like volume?</description>
    <pubDate>Fri, 22 Apr 2022 18:03:43 GMT</pubDate>
    <dc:creator>OlegKh</dc:creator>
    <dc:date>2022-04-22T18:03:43Z</dc:date>
    <item>
      <title>WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371265#M4433</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking here&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.spotify.com/documentation/web-playback-sdk/" target="_blank" rel="noopener"&gt;https://developer.spotify.com/documentation/web-playback-sdk/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to play song by #ID on our own site?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 11:30:16 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371265#M4433</guid>
      <dc:creator>olegkhorev</dc:creator>
      <dc:date>2022-04-21T11:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371401#M4436</link>
      <description>&lt;P&gt;There is a description here -&amp;nbsp;&lt;A href="https://developer.spotify.com/documentation/web-playback-sdk/reference/#playing-a-spotify-uri" target="_blank"&gt;https://developer.spotify.com/documentation/web-playback-sdk/reference/#playing-a-spotify-uri&lt;/A&gt;&amp;nbsp;of how to use the Web API to trigger playback on your device.&amp;nbsp; You can get the device ID from the "ready" event listener.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 14:29:49 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371401#M4436</guid>
      <dc:creator>tomjaimz</dc:creator>
      <dc:date>2022-04-21T14:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371502#M4438</link>
      <description>Thank you. I found the way.&lt;BR /&gt;&lt;BR /&gt;I now looking to receive Access Token with PHP&lt;BR /&gt;&lt;BR /&gt;I found good example here&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/71370356/obtain-spotify-api-oauth-2-0-token-with-php" target="_blank"&gt;https://stackoverflow.com/questions/71370356/obtain-spotify-api-oauth-2-0-token-with-php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But that access token returned from that API is 2 times shorter and does not work.&lt;BR /&gt;&lt;BR /&gt;Could you help me please?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Oleg</description>
      <pubDate>Thu, 21 Apr 2022 17:48:00 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371502#M4438</guid>
      <dc:creator>olegkhorev</dc:creator>
      <dc:date>2022-04-21T17:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371505#M4439</link>
      <description>It returns like in console&lt;BR /&gt;GET &lt;A href="https://api.spotify.com/v1/melody/v1/check_scope?scope=web-playback" target="_blank"&gt;https://api.spotify.com/v1/melody/v1/check_scope?scope=web-playback&lt;/A&gt; 403&lt;BR /&gt;It is recommended that a robustness level be specified. Not specifying the robustness level could result in unexpected behavior.&lt;BR /&gt;POST &lt;A href="https://api.spotify.com/v1/track-playback/v1/devices" target="_blank"&gt;https://api.spotify.com/v1/track-playback/v1/devices&lt;/A&gt; 400</description>
      <pubDate>Thu, 21 Apr 2022 17:54:18 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371505#M4439</guid>
      <dc:creator>olegkhorev</dc:creator>
      <dc:date>2022-04-21T17:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371712#M4441</link>
      <description>&lt;P&gt;I'm not so sure exactly what your issue is specifically, but I can tell you that the SO page you linked to allows you to get an Access Token using the Client Credentials OAuth flow.&amp;nbsp; This token will not be sufficient for use for the Web Playback SDK - you should instead be using the Authorization Code Flow (&lt;A href="https://developer.spotify.com/documentation/general/guides/authorization/code-flow/" target="_blank"&gt;https://developer.spotify.com/documentation/general/guides/authorization/code-flow/&lt;/A&gt;)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 07:21:33 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371712#M4441</guid>
      <dc:creator>tomjaimz</dc:creator>
      <dc:date>2022-04-22T07:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371785#M4442</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thank you. Here it looks like we manually need to login. We need some automatic way to receive Access token.&lt;BR /&gt;&lt;BR /&gt;Is there any way for that?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Oleg</description>
      <pubDate>Fri, 22 Apr 2022 09:26:57 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371785#M4442</guid>
      <dc:creator>olegkhorev</dc:creator>
      <dc:date>2022-04-22T09:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371936#M4444</link>
      <description>&lt;P&gt;You only need the user to authorise access once, after that you can use the provided refresh token to refresh your access token.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 14:40:01 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371936#M4444</guid>
      <dc:creator>tomjaimz</dc:creator>
      <dc:date>2022-04-22T14:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371964#M4446</link>
      <description>Thank you for your reply.&lt;BR /&gt;&lt;BR /&gt;I use this&lt;BR /&gt;&lt;A href="https://accounts.spotify.com/authorize?response_type=code&amp;amp;state=&amp;amp;client_id=[ClientId]&amp;amp;scope=user-read-private%20user-read-email&amp;amp;redirect_uri=http://localhost:8888/callback" target="_blank"&gt;https://accounts.spotify.com/authorize?response_type=code&amp;amp;state=&amp;amp;client_id=[ClientId]&amp;amp;scope=user-read-private%20user-read-email&amp;amp;redirect_uri=http://localhost:8888/callback&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And it returns me this error&lt;BR /&gt;INVALID_CLIENT: Invalid redirect URI&lt;BR /&gt;&lt;BR /&gt;I use correct Client #ID as I am able to get Access Token from previous curl.</description>
      <pubDate>Fri, 22 Apr 2022 15:34:55 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371964#M4446</guid>
      <dc:creator>olegkhorev</dc:creator>
      <dc:date>2022-04-22T15:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371971#M4447</link>
      <description>I figured out. Now I am looking to get scope for auth. I will keep you posted.</description>
      <pubDate>Fri, 22 Apr 2022 15:54:25 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371971#M4447</guid>
      <dc:creator>olegkhorev</dc:creator>
      <dc:date>2022-04-22T15:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371974#M4448</link>
      <description>I figured out for now how I can do that. Thank you. I will keep you posted.</description>
      <pubDate>Fri, 22 Apr 2022 16:04:18 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5371974#M4448</guid>
      <dc:creator>olegkhorev</dc:creator>
      <dc:date>2022-04-22T16:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5372024#M4449</link>
      <description>Thank you very much for all your help.&lt;BR /&gt;&lt;BR /&gt;I wonder can we display some controls? I am looking here&lt;BR /&gt;&lt;A href="https://developer.spotify.com/documentation/web-playback-sdk/reference/" target="_blank"&gt;https://developer.spotify.com/documentation/web-playback-sdk/reference/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But may be there is some already made example with track line and some other buttons like volume?</description>
      <pubDate>Fri, 22 Apr 2022 18:03:43 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5372024#M4449</guid>
      <dc:creator>OlegKh</dc:creator>
      <dc:date>2022-04-22T18:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5372336#M4451</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Sorry I am trying to create Spotify player myself. I am in issue where I need to move track line slider.&lt;BR /&gt;&lt;BR /&gt;So I need to trigger event "player_state_changed" every second to update track line position.&lt;BR /&gt;&lt;BR /&gt;Could you help with it please? I can setInterval for every second to trigger it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Oleg</description>
      <pubDate>Sat, 23 Apr 2022 11:02:48 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5372336#M4451</guid>
      <dc:creator>olegkhorev</dc:creator>
      <dc:date>2022-04-23T11:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: WebPlayer SDK API - play song by #ID</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5372347#M4453</link>
      <description>I was able to find it. Sorry.</description>
      <pubDate>Sat, 23 Apr 2022 11:33:49 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/WebPlayer-SDK-API-play-song-by-ID/m-p/5372347#M4453</guid>
      <dc:creator>olegkhorev</dc:creator>
      <dc:date>2022-04-23T11:33:49Z</dc:date>
    </item>
  </channel>
</rss>

