Open jaller94 opened 6 years ago
Yes, just pass a dummy-string as access_token: new Mastodon({access_token: 'dummy'})
Ok, in this case I see this issue being done when this note gets added to the documentation (readme).
I will add publicOnly
as a config parameter in the next version, which is cleaner than a dummy token.
As mentioned in Mastodon’s documentation some API endpoints do not require an authentication. (e.g.
statuses/:id
)https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#timelines
If I try to create a Mastodon object without a an access_token I get the following error:
Is it possible to make unauthorized API calls?