Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Search artists / tracks and display on User Profile

Search artists / tracks and display on User Profile

Hi team,

 

I have a social network app on IOS / Android. I want users to search through artists and songs and then select a few to display them on their profile. 

 

Wanted to check what is the best way to implement the search functions? I can think of two options. I'm not using any user information, so I think Client Credentials Flow would be OK?

 

 

Option 1: App connects to my server to Spotify API

windowsxp_0-1664537596700.png

 

Option 2: App connects directly to Spotify API

windowsxp_1-1664537629967.png

Would it be safe to keep the Access Token in the app?

 

 

 

Reply
4 Replies

Yes, the Client Credentials Flow would be enough.

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Thanks for the reply - Which would be the better way, Option 1 or 2?

 

Or are both suitable and doesn't really matter?

 

You can just do Option 2.

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Ok cool - how would I get the access token in the mobile app?

Suggested posts