GeopJr / Tuba

Browse the Fediverse
https://tuba.geopjr.dev/
GNU General Public License v3.0
529 stars 57 forks source link

[Request]: More support for Friendica #498

Open tio-trom opened 11 months ago

tio-trom commented 11 months ago

Describe the request

Friendica allows users to post long posts and inline media. So far we have no applications that take advantage of that... It is unfortunate because Friendica is an amazing platform that can be used for short or long posts with inline media and basic text formatting.

The Fediverse is not Mastodon, and if these apps support the "fediverse" then one would expect more compatibility with other platforms than just Mastodon.

Implementation Details

GeopJr commented 11 months ago

So far we have no applications that take advantage of that

Because Friendica does not expose it to its Mastodon compat API.

-    Does not support polls argument as Friendica does not have polls
-    Additionally to the static values public, unlisted and private, the visibility parameter can contain a numeric value with a group id.
-    Additional field quote_id for the post that is being quote reshared
-    Additional fields friendica for Friendica specific parameters:
        title: Explicitly sets the title for a post status, ignored if used on a comment status. For post statuses the legacy behavior is to use any "spoiler text" as the title if it is provided. If both the title and spoiler text are provided for a post status then they will each be used for their respective roles. If no title is provided then the legacy behavior will persist. If you want to create a post with no title but spoiler text then explicitly set the title but set it to an empty string "".

from: https://forum.friendi.ca/help/API-Mastodon

I don't think inline images would be easy to do with the compat API but "long posts" sounds easier, could you give me more info? is it posts with no character limit? does friendica normally have a character limit?

It is unfortunate because Friendica is an amazing platform that can be used for short or long posts with inline media and basic text formatting. The Fediverse is not Mastodon, and if these apps support the "fediverse" then one would expect more compatibility with other platforms than just Mastodon.

It sounds like you are a bit frustrated but there's nothing I can do. I think Friendica is pretty cool but it has so many features a mere microblogging client (not just Tuba, but all 'Mastodon' ones) cannot support. My opinion is the same as Misskey & forks - prefer the web frontend whenever possible since only that will allow you to utilize all its features.

I want to support additional Friendica masto API extensions however like dislikes etc. but probably after the GNOME 45 release.

If you want full Friendica API support (not its mastodon compat api), make a different issue about it however be aware that the priority, just like the Misskey one, is super low as it's a big task and requires major refactors in Tuba.

As for the "Fediverse" comment, it has been brought up before and the stance is the same - there's no better way to describe Tuba. It doesn't support only Mastodon, it tries to support everything that supports Mastodon's API and their extensions (Akkoma, GoToSocial, Glitch-soc, Takahe, Firefish etc and extensions such as quote posts, reactions, markdown etc and hopefully Friendica's extensions too in the future)

tio-trom commented 11 months ago

Sorry I feel like I sounded a bit too harsh, and I did not mean it. I understand your points and I much appreciate your work!

I don't think inline images would be easy to do with the compat API but "long posts" sounds easier, could you give me more info? is it posts with no character limit? does friendica normally have a character limit?

For me, as a user, what differentiates Friendica from say Mastodon is the ability to create proper posts with inline media and text formatting. If this is hard to implement I understand. But this would be the main feature that I would see useful for users. The fact that you support Markdown is really awesome!

I am unsure if Friendica has any character limit but one can make immense posts.

I will try to open specific issues for specific features/support, if that's ok. Maybe in the future they can be implemented. Is that a better approach?

GeopJr commented 11 months ago

For me, as a user, what differentiates Friendica from say Mastodon is the ability to create proper posts with inline media and text formatting. If this is hard to implement I understand. But this would be the main feature that I would see useful for users.

I'll take a closer look at it but I don't have high hopes, it's very far off than the other platforms / unique to Frendica

I am unsure if Friendica has any character limit but one can make immense posts.

I can remove the character limit. Tuba already supports whatever limit the instance reports and from a quick look at pirati.ca, it reports 200000 limit

I will try to open specific issues for specific features/support, if that's ok. Maybe in the future they can be implemented. Is that a better approach?

Feel free to, I'll keep track of "inline media" and "long posts" here so there's no need to make new ones for those two!

tio-trom commented 11 months ago

Thank you! Yes inline media in my view is the best support for Friendica, because it makes Friendica more unique and useful for people like me who create long posts with inline media.