bhushankummar / eBay-node-client

Ebay NodeJS Wrapper
MIT License
55 stars 66 forks source link

Request to get a User access token #12

Closed ineffablep closed 5 years ago

ineffablep commented 5 years ago

Hi, How can I request Request to get a User access token to set it for eBay.catalog.createChangeRequest.

I have tried like this but not working

eBay.application.getOAuthToken({
        grant_type: 'authorization_code',
        scope: 'https://api.ebay.com/oauth/api_scope'
    }).then(token => {

});
bhushankummar commented 5 years ago

What exactly error are you facing?

bhushankummar commented 5 years ago

@ineffablep Documentation is available here. https://developer.ebay.com/api-docs/static/oauth-tokens.html Duplicate of #10

bhushankummar commented 5 years ago

@ineffablep

14

Support has been extended in the same package. You can find the example here : https://github.com/bhushankumarl/eBay-node-client/tree/master/examples/javaScript/user