Having trouble with this lib
https://github.com/mattn/go-mastodon
AuthenticateToken(ctx context.Context, authCode, redirectURI string)
What is RedirectURI? Where do I get it from? I know it is in the API, but...
I got an access token, but when I try to authenticate, it shows `bad authorization: 400 Bad Request: invalid_grant`
@drq
1. It depends on what type of app you're building.
2. Are you sure that you've got an access token and not the token which is used to get access token?
3. Invalid grant could mean that you didn't set permissions you wanted to have when requesting the token.
OAuth can be non-obvious sometimes.
Also this library is not an exame of an excellent documentation.