Using the advice in this post I have been able to access the spotify users data for their playlists with
sp = getSpotifyApi(1); console.log (sp.core.library.getAlbums());
I want to access the spotify user data for the user logged into the app, specifically the spotify uri for the user.
sp = getSpotifyApi(1); console.log (sp.core.user); // is undefined console.log (sp.social.relations); // is undefined
How can I do this?