Spotify API: Get user owned playlists only - spotify

During developing a little spotify widget I want to receive my playlists. This is no problem with the Spotify API but I need to get only the playlists where the owner is the current user.
Is this possible?
Thanks a lot!
Julian

Julian, there's no API endpoint to only retrieve the endpoints that the user has created. Instead, your application needs to retrieve the Current User's list of Playlists and loop through them to filter out the user's own playlists by the owner property. (See Playlist object for details.)
If you don't know the user's username, use the Get Current User's Profile endpoint.

Related

Can I get user id via Instagram Graph API?

I'm using Instagram Graph API and getting some data.
Actually, this data is too few.
I want to get an user ID for an unique user, but this API doesn't include an user ID.
How do I get this value?
Instagram Graph API actually returns user ID. Please have a look into the reference for the user object: https://developers.facebook.com/docs/instagram-api/reference/user
You can either use the id field for unique user ID from Instagram Graph API or you can use ig_id. The latter is the ID that was used in legacy Instagram API.

Get user ID - WebAPI Spotify (Spotipy)

my question
is possible get a user id in any way? I would search a user from his name and print his recently artist played
Thanks
This is not possible due to Spotify's Web API has no endpoint where you can fetch user ids by their names.
What you can do is creating an application where a specific user can login using Spotify. Afterwards you can use this endpoint in order to retrieve the recently played tracks of that exact user. The track object in the response will hold the artist as well.

Is it possible to check whether a user has access to Spotify for Artists for a specific artist?

I am trying to automatically verify that a user is a particular Spotify artist (or at least on the artist's team). The problem is that an artist and a user are different. Spotify's authentication API deals with user accounts. However, user accounts are used to access Spotify for Artists and are internally verified by Spotify.
Therefore, it looks like I just need some way to check whether the user can access the artist. Is there any API or other way to check that a particular authenticated user is tied to a Spotify for Artists account?

Instagram: is there a way to show friends' posts on my website?

Using the Instagram API or plugins (like Instafeed) I can show logged user's photos, but I wanna show logged user's friends' photos.
Yes, it is possible to show any public user's photos by getting public_content permission for API.
If the user's friend has private profile then you cannot access via API even if the user is approved and following the friend.
You have to get your app approved by instagram for public_content, which you may not get if your apps purpose does not meet one of the Instagram's approved use cases: https://www.instagram.com/developer/review/

Is there any way to get user news through the official Instagram API?

I want to build Instagram client for Ubuntu. I already figured out how to get data like user feed through access token through Instagram API. But I can't figure out how to get user news (e.g. someone liked your photo, mentioned you in comment etc.), I guess user need to be logged on to watch his news (via http://instagram.com/api/v1/news/inbox/).
So, the question: is there any way to get user feed through API, or through access token? I don't want to request user password in my application, all I got is access token.
This endpoint (v1/news/inbox/) is not supported by official Instagram API. By the way; you can't access the data.

Resources