authentication - how to authenticate Soundcloud API with redirect_uri (callback.html) -
the final goal let users able upload / download files through soundcloud api.
i have registered app, have got problems authentication. in app registration must define redirect uri authentication, default callback.html. put there myself?
i dont know put there, in redirect uri of app or in code (assuming must same) i've tried making callback.html myself, doesnt work. i'm starting think must online link. i'm working on localhost..
i've found similar question here: redirect_uri , how host callback.html on soundcloud?
but doesnt solve problem.
i realize basic stuff, hope can clear help. thank much
edit : testing, i've put http://www.samplewars.com/ in app registration redirect_uri , in redirect_uri in code, , pop-up asking acces soundcloud account, after clicking connect goes samplewars.com. how make go same page, (localhost url). possible put offline link there, i'm working on localhost? dont have online.
the callback file used send authentication token application. in case should http://www.samplewars.com/soundcloud-callback.html
. development, register different application points local setup (eg http://localhost/soundcloud-callback.html
or whatever).
if use soundcloud javascript api, simple. there's example page in the documentation.
Comments
Post a Comment