<?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 Retrieve song through websocket in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Retrieve-song-through-websocket/m-p/5182782#M2289</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently, I was trying to understand how Discord implemented Spotify on their server and noticed it was something totally different (websocket connection).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As i'm a curious person, I decided to re-do the same process as Discord does but when creating a subscription on this API (which will notice you of current playing through websocket): &lt;A href="https://api.spotify.com/v1/me/notification/player," target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/me/notification/player,&lt;/A&gt;&amp;nbsp;i'm getting an "unathorized".&amp;nbsp; If I use an access_token from Discord, it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought I was doing something wrong (bad access_token etc) but apparently, it seems only Discord is allowed to use this API (maybe i'm wrong).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My question is:&lt;/STRONG&gt; If a big company decides to implement the same way as Discord (and not through API because they want real time stuff), how should they do it? Do they need to contact Spotify personally?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer/help.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 20:43:41 GMT</pubDate>
    <dc:creator>StrangerThings</dc:creator>
    <dc:date>2021-04-06T20:43:41Z</dc:date>
    <item>
      <title>Retrieve song through websocket</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Retrieve-song-through-websocket/m-p/5182782#M2289</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently, I was trying to understand how Discord implemented Spotify on their server and noticed it was something totally different (websocket connection).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As i'm a curious person, I decided to re-do the same process as Discord does but when creating a subscription on this API (which will notice you of current playing through websocket): &lt;A href="https://api.spotify.com/v1/me/notification/player," target="_blank" rel="noopener"&gt;https://api.spotify.com/v1/me/notification/player,&lt;/A&gt;&amp;nbsp;i'm getting an "unathorized".&amp;nbsp; If I use an access_token from Discord, it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought I was doing something wrong (bad access_token etc) but apparently, it seems only Discord is allowed to use this API (maybe i'm wrong).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My question is:&lt;/STRONG&gt; If a big company decides to implement the same way as Discord (and not through API because they want real time stuff), how should they do it? Do they need to contact Spotify personally?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer/help.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 20:43:41 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Retrieve-song-through-websocket/m-p/5182782#M2289</guid>
      <dc:creator>StrangerThings</dc:creator>
      <dc:date>2021-04-06T20:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve song through websocket</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Retrieve-song-through-websocket/m-p/5183290#M2302</link>
      <description>Hey there, help's here!&lt;BR /&gt;&lt;BR /&gt;Right now, Web Sockets are currently not available for all developers. The right folks are aware that this is something you'd like to see and your feedback reaches the right folks loud and clear.&lt;BR /&gt;&lt;BR /&gt;Discord has a partnership with Spotify, you can read more about this here: &lt;A href="https://support.spotify.com/article/discord/" target="_blank"&gt;https://support.spotify.com/article/discord/&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;If you'd like to get in touch with the team to apply for Spotify API use in a commercial app, I recommend filling this out: &lt;A href="https://docs.google.com/forms/d/e/1FAIpQLScawLOKdjegmKoIan9CJRiqrXDmBJ5-rLPa29hXJkSUPC1SCA/viewform" target="_blank"&gt;https://docs.google.com/forms/d/e/1FAIpQLScawLOKdjegmKoIan9CJRiqrXDmBJ5-rLPa29hXJkSUPC1SCA/viewform&lt;/A&gt;. Let me know if you have any questions!&lt;BR /&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Hubo</description>
      <pubDate>Wed, 07 Apr 2021 13:58:54 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Retrieve-song-through-websocket/m-p/5183290#M2302</guid>
      <dc:creator>Hubo</dc:creator>
      <dc:date>2021-04-07T13:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve song through websocket</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Retrieve-song-through-websocket/m-p/5183360#M2305</link>
      <description>&lt;P&gt;Hello Hubo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your kind answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I understood well, the company would need to fill this doc (&lt;A href="https://docs.google.com/forms/d/e/1FAIpQLScawLOKdjegmKoIan9CJRiqrXDmBJ5-rLPa29hXJkSUPC1SCA/viewform" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.google.com/forms/d/e/1FAIpQLScawLOKdjegmKoIan9CJRiqrXDmBJ5-rLPa29hXJkSUPC1SCA/viewform&lt;/A&gt;) to have an access to this Websocket feature?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 15:06:12 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Retrieve-song-through-websocket/m-p/5183360#M2305</guid>
      <dc:creator>StrangerThings</dc:creator>
      <dc:date>2021-04-07T15:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve song through websocket</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Retrieve-song-through-websocket/m-p/5184957#M2324</link>
      <description>Hey &lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/24481427"&gt;@StrangerThings&lt;/a&gt;, thanks for getting back to me.&lt;BR /&gt;&lt;BR /&gt;Sorry for the confusion here. That form is to apply for permission to integrate Spotify in a commercial app. This does not grant access to the Websocket features. Right now, this feature isn't available to all developers. Hopefully, it'll be released for all developers soon. Let me know if you have any questions!&lt;BR /&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Hubo</description>
      <pubDate>Fri, 09 Apr 2021 17:10:19 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Retrieve-song-through-websocket/m-p/5184957#M2324</guid>
      <dc:creator>Hubo</dc:creator>
      <dc:date>2021-04-09T17:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve song through websocket</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Retrieve-song-through-websocket/m-p/5184967#M2328</link>
      <description>&lt;P&gt;Hey Hubo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh alright, it makes sense now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ETA on when it will be released ? (if you know) The company where I am on, is interested to implement it &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully i'm not asking too much ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 22:18:25 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Retrieve-song-through-websocket/m-p/5184967#M2328</guid>
      <dc:creator>StrangerThings</dc:creator>
      <dc:date>2021-04-09T22:18:25Z</dc:date>
    </item>
  </channel>
</rss>

