Skip to content

unable to request user/recommandations/tracks #1

Description

@blksnk

hey
im unable to use the request method, because i can't figure out what to feed in the "cb" argument.

the documentation is quite vague. what callback function i am supposed to write?

heres a copy of the code i'm running:
deezer.request(deezerToken, { resource: 'user/recommandations/tracks', method: 'GET', cb: 'http://localhost:5000/generate/result', }) .then(result => { console.log(result); res.send(result); }) .catch(err => next(err));

(note that deezerToken is the usertoken of the current user)

thanks in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions