xinranxiao / meteor-accounts-spotify Goto Github PK
View Code? Open in Web Editor NEWA meteor package for Spotify's login service.
License: MIT License
A meteor package for Spotify's login service.
License: MIT License
First of all, thank you for providing this package and example app, that you made.
I was wondering if there is any way to implement log out?
can i use localhost/_oauth/spotify?close for development? I'm getting the popup callback window but the page is saying unauthorized.
I'm having trouble with using "http://localhost:3000/_oauth/spotify?close" as the redirect uri. I keep getting the following error:
INVALID_CLIENT: Invalid redirect URI
Just running meteor add xinranxiao:accounts-spotify
will automatically install all dependencies of this package.
Hello,
I'm new in meteor and I would like to know if this is an example of using your code somewhere online.
Thanks
Why shouldn't the refresh token be sent down (You wrote a comment in spotify_server.js about this)? Is there a way to access it in order to get a new accessToken? Or should I just call the Login Method, instead of getting a new accessToken using the oauth refresh Token?
Thank you in advance, your package has been very helpful to me
Hello i need your help directly, i dod know how or how i did remove or hide my 2 Spotify artist profiles i had one with over 700k streams and the other one is 800k. That have take my long time bro please can you hjälp me to get them back or maybe find out a some solution.
Can you write an email to me or how an we talk with each other???
I'm using Meteor 2.3.4 and when trying to add the package I'm getting 3 conflicts:
error: Conflict: Constraint [email protected] is not satisfied by accounts-base 2.0.0.
Conflict: Constraint [email protected] is not satisfied by oauth 2.0.0.
Conflict: Constraint [email protected] is not satisfied by http 2.0.0.
is this package still maintained?
I need to retrieve the access_token from this package so I can set it in the angular-spotify issue 31 package similar to this: Spotify.setAuthToken($rootScope.token)
This way I can utilize the spotify web api from the client, and not only on the server (like this package does - https://github.com/xinranxiao/meteor-spotify-web-api )
Printing Meteor.user() only lists the 'profile' field, not the 'services' where the token lies.
Or is there a better way to be able to get the auth/access token from the server, and use the spotify web api from the client with Angular?
Thank you so much for this package! I have added accounts-ui and xinranxiao:accounts-spotify packages to my project, and have successfully added the service config and redirect URL's so that the OAuth flow is working - however I am struggling getting the flow to request the correct scopes on the client side.
Following your instructions and your example code - I have created a config.js file in my client folder with the following content:
var scopes = ['playlist-modify-private', 'user-library-read','user-follow-read', 'playlist-read-private']; Accounts.ui.config({'requestPermissions':{'spotify':scopes}});
However, every OAuth request flow that goes through only ever requests the following scopes:
Any idea why this is happening and why the Accounts.ui.config settings aren't being called properly? Thanks!
In a browser all works fine, I can login into spotify, and the popup window closes when completed. In a mobile app (iPhone with cordova) the login also works fine, but I have to close the popup manually by clicking "Done". The window is completely blank.
Any idea how to debug this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.