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

How to get access token #1

Open
ta3pks opened this issue Jan 5, 2017 · 5 comments
Open

How to get access token #1

ta3pks opened this issue Jan 5, 2017 · 5 comments
Assignees

Comments

@ta3pks
Copy link

ta3pks commented Jan 5, 2017

hi first of all thank you for such a complete and user friendly module.
There's one thing i couldnt quite figure out though, complete oauth method authorizes the client but does not return an access token which i need to use for future posts or manage dms how do i get token details in order to save into db ?

@ta3pks
Copy link
Author

ta3pks commented Jan 5, 2017

i just checked your soruce code i think changing return signature of that method from error to (token error) could do the trick

@kkdai
Copy link
Owner

kkdai commented Nov 6, 2017

Hope you already solve this issue as well.

@kkdai kkdai self-assigned this Nov 6, 2017
@kkdai kkdai closed this as completed Nov 6, 2017
@jonah-butler
Copy link

Hey @kkdai, i started using this package today, and had the same question. I need the access token from CompleteAuth. Is there something I'm missing here? I noticed this was assigned and marked completed quite a few years ago. Thanks.

@kkdai kkdai reopened this Oct 13, 2022
@kkdai
Copy link
Owner

kkdai commented Oct 13, 2022

Hi @jonah-butler
Twitter oauth-token could retrieval refer this repo and code https://github.com/kkdai/twitter-auth-web/blob/master/main.go#L96

Hope it help.

@kkdai
Copy link
Owner

kkdai commented Oct 13, 2022

By the way, this repo https://github.com/kkdai/twitter-auth-web
Provide an example to help you build your own Twitter Oauth flow and access your latest tweet by accessing this site: https://twitter-web-auth.herokuapp.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants