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

Auto-post to Mastodon #163

Open
JSn1nj4 opened this issue Oct 12, 2023 — with Volta.net · 1 comment
Open

Auto-post to Mastodon #163

JSn1nj4 opened this issue Oct 12, 2023 — with Volta.net · 1 comment
Assignees

Comments

Copy link
Owner

JSn1nj4 commented Oct 12, 2023

Maybe cheesy, but could be a fun pairing w/ X/Twitter auto-posting. :)

Posting

see: https://docs.joinmastodon.org/methods/statuses/#create

POST /api/v1/statuses HTTP/1.1
Authorization: Bearer <token>
Idempotency-Key: <temp-comparison-string>
{
  "status": "<post content>",
  "in_reply_to_id": "<previous-post-id>"
}

Possible responses

401: Unauthorized

{
  "error": "The access token is invalid"
}

422: Unprocessable entity

{
  "error": "Validation failed: Text can't be blank"
}
Copy link
Owner Author

JSn1nj4 commented Oct 17, 2023

Mastodon PreviewCard: https://docs.joinmastodon.org/entities/PreviewCard/

@JSn1nj4 JSn1nj4 self-assigned this Jun 15, 2024
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

No branches or pull requests

1 participant