i want to integrate this package https://atmospherejs.com/bpham/soundcloud-nodejs-api-wrapper to my application. so users will upload their songs to my profile throught my soundcloud app.
i’ve added the package using the command : meteor add. and i’ve create soundcloud app:
appname : bands
Website of your app : http://localhost:3000
Redirect URI for Authentication : http://localhost:3000/_oauth/soundcloud?close
i’ve added these lines in the server side.
Soundcloud.setConfig({
client_id : "myid",
client_secret : "mysecret",
username : 'myusername',
password: 'mypassword'
});
var cloudclient = Soundcloud.getClient();
var res = cloudclient.getSync('/me', {limit : 1});
console.log(res);
but i keep getting this error.
/home/root3/.meteor/packages/meteor-tool/.1.3.0_3.fc5itk++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:300.
i’ve tried to delete the build folder and restart the app but it doesn’t work.