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

Feature Request: Add application to post and reply context #868

Open
jeherve opened this issue Aug 20, 2024 · 3 comments
Open

Feature Request: Add application to post and reply context #868

jeherve opened this issue Aug 20, 2024 · 3 comments

Comments

@jeherve
Copy link
Member

jeherve commented Aug 20, 2024

What

The Mastodon API seems to support an application field, that allows one to pass information about the client used to post the message. Here are some examples:

"application":{"name":"Web","website":null}

-- https://mastodon.social/api/v1/statuses/112989821694410467

"application":{"name":"Ivory for iOS","website":"https://tapbots.com/"}

-- https://mastodon.social/api/v1/statuses/112993223143821397

This information is used by some Fediverse applications to display information about how the message was posted:

image

API Reference: https://docs.joinmastodon.org/entities/Application/

It would be nice if messages posted via the ActivityPub plugin included that information, maybe as a "ActivityPub for WordPress" application?

Why

This would help further promote the ActivityPub plugin and nurture its adoption.

How

No response

@mediaformat
Copy link
Collaborator

Might be good to make it pluggable too, so that @akirk EMA plugin could hook into

@pfefferle
Copy link
Member

I think it is the other way around! I would use a filter of EMA to implement it?!?

@akirk
Copy link
Member

akirk commented Aug 23, 2024

I had researched this in akirk/enable-mastodon-apps#153 and it turns out that the application info is not federated between Mastodon, it is only tracked inside your own Mastodon instance by using an application_id field which refers to an app (see website in the view and in the db model) authenticated at the Mastodon instance, you cannot feed your own data into that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants