Back to Parent

#---- RSPOTIFY ----

use Rack::Session::Cookie
use OmniAuth::Builder do
 provider :spotify, ENV["SPOTIFY_CLIENT_ID"], ENV["SPOTIFY_CLIENT_SECRET"], scope: 'user-read-private user-read-email playlist-read-private playlist-read-collaborative playlist-modify-public playlist-modify-private user-library-read user-library-modify'
end

RSpotify.authenticate(ENV["SPOTIFY_CLIENT_ID"], ENV["SPOTIFY_CLIENT_SECRET"])
spotify_user = RSpotify::User.new(@@spotify_auth)
Click to Expand

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0