-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request Vimeo API with generated AccessToken #21
Comments
Which channel id are you using? |
For this example i use the The problem is in your library, i request directly the api with the
|
Path must contain the leading forward slash, otherwise it loads var vimeo = new Vimeo(settings.vimeo.client_id, settings.vimeo.client_secret, settings.vimeo.access_token);
vimeo.request({
path : '/channels/'+params.channel_id + '/videos',
query : {
sort : 'date',
direction : 'desc'
}
}, function (err, res) {
if (err) {
return callback(err);
}
callback(null, res);
}); I'll make a note to check for this in our next release |
thanks |
Hi, i've try to use your library to request vimeo API and get specific channel videos.
this is my code :
If I try this code, i get this error on nodeJS :
I decide to test this request on postman and it works.
What is wrong ?
The text was updated successfully, but these errors were encountered: