> ## Documentation Index
> Fetch the complete documentation index at: https://fossabot.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# $(mastodon)

Returns the latest status as well as the time that has passed since it was tweeted from a specified [Mastodon](https://mastodon.social) account.

<Info>
  **Profile must be available through Mastodon.social**

  Fossabot is not able to query any Mastodon instance due to security concerns, your profile must be available through [mastodon.social](https://mastodon.social) to be retrievable by Fossabot.
</Info>

#### Parameters

This variable takes **one** *required* parameter that is a **Mastodon handle** of who to fetch the most recent status of.

#### Example Output

* `$(mastodon @fossabot)`

  ```
  👋 - https://mastodon.social/@fossabot/109838109407056375 | 4 minutes and 53 seconds ago
  ```

#### Error Output

* In case no handle is provided, returns the following:

  ```
  [Error: No account provided.]
  ```

* In case no handle is **not found, or not federated to mastodon.social**, returns the following:

  ```
  [Error: Account not found.]
  ```

* In case there are troubles communicating with [mastodon.social](https://mastodon.social), returns the following:

  ```
  [Error: Mastodon API.]
  ```

* In case the user does not have a public status, returns the following:

  ```
  [Error: User does not have a public status.]
  ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.