sys1yagi / mastodon4j

mastodon client for java, kotlin https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md
MIT License
135 stars 28 forks source link

Change OAuth URL's paramater name "scope" to "scopes" at Apps#getOAuthUrl() #77

Closed moko256 closed 5 years ago

moko256 commented 5 years ago

If I open url generated with Apps#getOAuthUrl() and Scope(Scope.Name.ALL), I failure.

Docs: https://docs.joinmastodon.org/api/permissions/

Note: Mind the scope vs scopes difference. This is because scope is a standard OAuth parameter name, so it is used in the OAuth methods. Mastodon’s own REST API uses the more appropriate scopes.

moko256 commented 5 years ago

I was wrong. sorry.