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

Comments: Add support for authentication token #57

Merged
merged 2 commits into from
Jul 10, 2023

Conversation

cassidyjames
Copy link
Owner

@cassidyjames cassidyjames commented Jul 10, 2023

If provided, a Mastodon application access token with the read:statuses scope will enable fetching more than 60 replies to a post (see: mastodon/mastodon#25892)

NOTE: IF INCLUDED, ANYONE WILL BE ABLE TO READ THE ASSOCIATED ACCOUNT'S PRIVATE STATUSES. It is highly recommended to use a dedicated bot/API account to create an application with scope read:statuses.

This PR also cleans up a bit of the JavaScript, leaning on defining constants up front to make it more easily portable to other platforms/static site generators.

If provided, a Mastodon application access token with the
`read:statuses` scope will enable fetching more than 60 replies to a
post.

NOTE: IF INCLUDED, ANYONE WILL BE ABLE TO READ THE ASSOCIATED ACCOUNT'S
PRIVATE STATUSES. It is highly recommended to use a dedicated bot/API
account to create an application with scope `read:statuses`.
@cassidyjames cassidyjames merged commit 1298d9b into main Jul 10, 2023
@cassidyjames cassidyjames deleted the comments-authentication-token branch July 10, 2023 22:20
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

Successfully merging this pull request may close these issues.

None yet

1 participant