Skip to content

Number of Posts #749

Answered by neet
tderflinger asked this question in Q&A
Dec 8, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

According to Mastodon official documentation

statuses_count
Description: How many statuses are attached to this account.
https://docs.joinmastodon.org/entities/Account/#statuses_count

Masto.js corresponding to this field is as follows

const masto = await login({...});
const account = await masto.v1.accounts.fetch("<ACCOUNT ID>");
account.statusesCount;

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tderflinger
Comment options

Answer selected by tderflinger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants