<?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: Saving user data from the Spotify API in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Saving-user-data-from-the-Spotify-API/m-p/5023480#M1006</link>
    <description>&lt;P&gt;I'm replying in the hope that the post will be viewed by someone.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Aug 2020 11:22:29 GMT</pubDate>
    <dc:creator>LucianG</dc:creator>
    <dc:date>2020-08-25T11:22:29Z</dc:date>
    <item>
      <title>Saving user data from the Spotify API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Saving-user-data-from-the-Spotify-API/m-p/4987960#M628</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently toying around with the Spotify api to create a mobile app that "matches" people based on their top artists, tracks, and genres.&lt;/P&gt;&lt;P&gt;For this, I need to save the user data (top 50 tracks and artists, from the Personalization API) and fetch them back as needed.&lt;/P&gt;&lt;P&gt;So basically if&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;User A&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;signed in the app with its Spotify account, its data is saved in my DB.&lt;/P&gt;&lt;P&gt;After that, if&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;User B&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;wants to see if he is a match with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;User A&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the server will provide information about both&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;User A&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;User B&lt;/STRONG&gt;, for instance, what artist they both like.&lt;/P&gt;&lt;P&gt;There is this point in the TOS about user data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Spotify user data can be cached only for operating your SDA. If a Spotify user logs out of your SDA or becomes inactive, you will delete any Spotify Content related to that user stored on your servers. To be clear, you are not permitted to store Spotify Content related to a Spotify user or otherwise request user data if a Spotify user is not using your SDA"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I understand, it's ok to save the user data in an external server/DB as long as I delete that data as soon as the user logs out from my app, is that right?&lt;/P&gt;&lt;P&gt;I'm asking because at the same time there is this restriction stated in the TOS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Do not transfer Spotify Content to unauthorized third parties, including (i) directly or indirectly transferring any data (including aggregate, anonymous or derivative data) received from Spotify to, or use such data in connection with, any ad network, ad exchange, data broker, or other advertising or monetization-related toolset, even if a user consents to such transfer or use; or (ii) to another music service that competes with Spotify or the Spotify Service."&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 10:09:46 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Saving-user-data-from-the-Spotify-API/m-p/4987960#M628</guid>
      <dc:creator>LucianG</dc:creator>
      <dc:date>2020-07-01T10:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Saving user data from the Spotify API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Saving-user-data-from-the-Spotify-API/m-p/5023480#M1006</link>
      <description>&lt;P&gt;I'm replying in the hope that the post will be viewed by someone.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 11:22:29 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Saving-user-data-from-the-Spotify-API/m-p/5023480#M1006</guid>
      <dc:creator>LucianG</dc:creator>
      <dc:date>2020-08-25T11:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Saving user data from the Spotify API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Saving-user-data-from-the-Spotify-API/m-p/5071721#M1539</link>
      <description>What is the situation of the matter?</description>
      <pubDate>Sat, 14 Nov 2020 17:32:05 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Saving-user-data-from-the-Spotify-API/m-p/5071721#M1539</guid>
      <dc:creator>kumakichi</dc:creator>
      <dc:date>2020-11-14T17:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Saving user data from the Spotify API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Saving-user-data-from-the-Spotify-API/m-p/5071776#M1540</link>
      <description>&lt;P&gt;Hi kumakichi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot tell you for sure an answer, I'll link you down below the same question on StackOverflow but I didn't receive a concrete answer there either.&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/62628318/saving-user-data-from-spotify-api" target="_blank"&gt;https://stackoverflow.com/questions/62628318/saving-user-data-from-spotify-api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I can tell you is what I do in my app:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. First of all, I don't save Spotify Data 1:1 but I rather have my own data derivated from Spotify one. So one could argue that I'm not actually saving Spotify data but my data.&lt;/P&gt;&lt;P&gt;2. I allow the user to delete anything related to him and his data at any time&lt;/P&gt;&lt;P&gt;3. I delete user data after a certain time of inactivity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot say for sure that these 3 points will make your app 100% complaint to Spotify terms, by those terms are quite ambiguous and also Spotify team seems quite hard to reach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think those 3 points (at least the first 2) are decent.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, another thing that I wanted to mention is that my app is non-commercial. Things might be different for commercial apps.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Nov 2020 19:54:03 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Saving-user-data-from-the-Spotify-API/m-p/5071776#M1540</guid>
      <dc:creator>LucianG</dc:creator>
      <dc:date>2020-11-14T19:54:03Z</dc:date>
    </item>
  </channel>
</rss>

