Skip to content
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

Any way to access my own ebay account history through a script? #3

Open
apanagar opened this issue Jan 16, 2020 · 1 comment
Open
Labels
discussion question Further information is requested

Comments

@apanagar
Copy link

Thanks for this library, it makes dealing with the ebay API significantly easier.

I was trying to access my own ebay account programmatically.

I am able to use this code to get the URL for the user login, but it seems that the only way I can provide credentials to get a user token is to go through a browser. Is there a way to provide credentials to my script so I can get a user authorization, and be able to download my ebay user's history, etc?

@pajaydev
Copy link
Contributor

pajaydev commented Mar 8, 2020

@apanagar It's not recommended to generate it through scripts. As the authorization code grant flow typically involves a human in the flow that sign-in in order to obtain the authorization token that is later used to obtain the access code. You can copy and paste the url in the browser to get the code.

If you are using the express app the you can use

res.redirect(url)
which will redirect to sign in page automatically.

Hope this helps !. Kindly let me know if you need more help.

@pajaydev pajaydev added discussion question Further information is requested labels Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants