Questions tagged [mastodon]

Mastodon is a free and open source, federated microblogging social network, that also has a REST API.

Mastodon is a free and open source microblogging network built as a decentralized federation of independently-operated servers. The server-side technology is Ruby on Rails, and the front end is written in JavaScript (React.js and Redux). It implements the ActivityPub and WebFinger protocols for interoperability with other social networks.

72 questions
5
votes
1 answer

Activitypub & Mastodon, how to get an Actor?

The question I'm currently trying to implement ActivityPub on my server to make it interoperate with mastodon. I got stuck trying to retrieve an actor from another mastodon instance. The actor contains things like the inbox, outbox, and the public…
Daniel Abrecht
  • 133
  • 1
  • 6
4
votes
1 answer

How to get Mastodon direct messages using Mastodon.py

I am trying to get direct messages from my Mastodon account using Mastodon.py. I am able to get everything on the timeline, but can't seem to return direct messages. Since direct messages are separate from the timeline (on the web interface), I am…
Rick Dearman
  • 356
  • 2
  • 12
4
votes
1 answer

How do I add jQuery to Mastodon 4.02 (using Rails 6 and Webpacker 4)?

I'm following this question from 2020 How do I use jQuery in Rails 6.0.3.3? , but I'm not able to add jQuery to Rails 6 and Webpacker 4 in Mastodon 4.02 https://github.com/mastodon/mastodon However, I am able to add a custom.js file to load my…
BlueDogRanch
  • 721
  • 1
  • 16
  • 43
3
votes
0 answers

Where are the “range” and “functional” aspects of ActivityPub properties defined?

Activity Vocabulary has tables which indicate several aspects (meta-properties?) of each property defined in Activity Streams 2.0. These aspects include: functional — is it single-value, or not? range — indicates the type of value the property term…
Laurence Gonsalves
  • 137,896
  • 35
  • 246
  • 299
3
votes
2 answers

Unable to resolve hostname with docker-compose and podman

I am trying to deploy a mastodon server using this project: https://github.com/tootsuite/mastodon I am running Docker-Compose and Podman on a Fedora 33 server. $ docker-compose --version docker-compose version 1.27.4, build unknown $ docker…
Coukaratcha
  • 133
  • 2
  • 11
2
votes
1 answer

Adding jQuery to Rails 6 in Mastodon

I gave up trying to add jQuery to Mastodon 4.0.2 via Webpacker How do I add jQuery to Mastodon 4.02 (using Rails 6 and Webpacker 4)? So now I want to simply add a link to a jQuery CDN in the Mastodon header file application.html.haml. I add =…
BlueDogRanch
  • 721
  • 1
  • 16
  • 43
2
votes
1 answer

How to upload custom emoji in bulk

I am testing a #Mastodon instance and want to upload a set of emojis. Is there a way to do that? Or do I have to do it one by one? I understand I can copy the ones that appear on my federated feed, but I have a set of 110 custom emojis that I need…
xchido
  • 23
  • 4
2
votes
1 answer

I get invalid_grant error for mastodon/mastodon.py. How do I do Oauth2 instead?

This code is taken almost verbatim from mastodon.py's README.md it always returns Traceback (most recent call last): File "C:\Users\matth\GitHub\feed_thing\again.py", line 32, in mastodon.log_in( File…
MatthewMartin
  • 32,326
  • 33
  • 105
  • 164
2
votes
0 answers

New mastodon instance does not show any search results

I did setup a new mastodon instance by following their official documentation. Cloud provider: AWS OS: Ubuntu 20.04 mastodon version: tag v3.5.5 Everything looks good. I can sign up and publish toots. However, the instance seems isolated from the…
2
votes
2 answers

How Mastodon Configured Login Using SSO

How Mastodon configure login using SSO, such as openid with keycloak? I search in Github and configure Mastodon follow this guide, but it doesn't work. This is my environment…
1
vote
1 answer

Python Mastodon API gives same results for following and followers?

I am trying to get a list of people I follow, and a lost of people I am followed by, but the functions give the same number? myid = mastodon.account_verify_credentials()["id"] …
Rick Dearman
  • 356
  • 2
  • 12
1
vote
0 answers

Use node.js 'mastodon-api' to delete toot

I am struggling with a basic Mastodon API call - how to delete a toot. I am using the node.js 'mastodon-api' package. Here are the function declarations: const Mastodon = require('mastodon-api'); const mastodonInstance =…
Chris
  • 11
  • 1
1
vote
0 answers

Command to use curl to add users to a Mastodon list?

I'm moving to a new Mastodon instance and would like to re-create my old lists on my new server. I've tried curl -X POST -H "Authorization: Bearer MYTOKEN" https://fosstodon.org/api/v1/lists/LISTID/accounts/?account_ids[]=ACCOUNTID but I'm getting…
Sharon
  • 3,676
  • 3
  • 23
  • 20
1
vote
0 answers

How to force github/gitlab markdown to keep a rel="me" anchor attribute?

How to force github/gitlab markdown to keep a rel="me" anchor attribute? Consider the very simple markdown fragment.