kimsible / peertube-plugin-social-sharing

Share a video or playlist URL on social media (Fediverse,Twitter..)
GNU Affero General Public License v3.0
7 stars 6 forks source link

Sharing on the Fediverse #4

Open tiotrom opened 3 years ago

tiotrom commented 3 years ago

How about adding buttons for sharing on Friendica, Mastodon, Pleroma and the like? I think it would make more sense. Cheers!

b4zz4 commented 3 years ago

custom or remove private network social

kimsible commented 3 years ago

@tiotrom Mastodon support is planned for the next release, do you have the URL sharer scheme for Friendica and Plerom ?

tio-trom commented 3 years ago

@tiotrom Mastodon support is planned for the next release, do you have the URL sharer scheme for Friendica and Plerom ?

Let me ping the Friendica developers and ask them to maybe help with this.

kimsible commented 3 years ago

Thanks !

annando commented 3 years ago

@kimsible how is the Mastodon support working? If we don't already support it, then we can just add it this way if possible.

kimsible commented 3 years ago

@annando like this : https://github.com/kimsible/peertube-plugin-social-sharing/blob/48dd2e2507ec6b4f9a927c2641ab0584d4718992/assets/services.json#L4

annando commented 3 years ago

Friendica is using this format: https://server.tld/bookmarklet?url=...&title=...

The url is mandatory, the title is optional.

There is also the possibility of using the centralized services https://sharetodiaspora.github.io/ or https://share.diasporafoundation.org

Example: https://share.diasporafoundation.org/?url=https%3A%2F%2Ftaz.de%2FGreenwashing-auf-der-IAA%2F!5798788%2F&title=Greenwashing%20auf%20der%20IAA%3A%20PS-Porno%20gr%C3%BCn%20inszeniert%20-%20taz.de

This method will also work with Diaspora servers.

kimsible commented 3 years ago

Thanks you so much @annando ! I've added Friendica, diaspora and Pleroma in the last release.

screen

@tiotrom I also found that : https://gitlab.com/Makhi/sharer/blob/master/assets/js/sharer.js

Are Gnusocial, Movim and Hubzilla relevant ?

annando commented 3 years ago

I would say that GNU-Social is in decline. For Movim I don't know their relevance. Hubzilla is used as well.

wakest commented 3 years ago

Even though gnu social is in decline they just announced a big redesign and recently added ActuvityPub support so if it’s not too much extra work why not ad a share to GNU social endpoint as well. Also adding a share to Lemmy button makes sense as well as it’s one of the more active fediverse spaces.

xundeenergie commented 2 years ago

Please add Lemmy (https://join-lemmy.org/docs/en/about/about.html)

{ "label": "lemmy", "sharerLink": "create_post?title=%body&url=%link&body=%body", "customDomain": true },

kimsible commented 2 years ago

Please add Lemmy (https://join-lemmy.org/docs/en/about/about.html)

{ "label": "lemmy", "sharerLink": "create_post?title=%body&url=%link&body=%body", "customDomain": true },

Thanks for the suggestion, you can propose a PR with it, I'll review it asap.

xundeenergie commented 2 years ago

Please add Lemmy (https://join-lemmy.org/docs/en/about/about.html) { "label": "lemmy", "sharerLink": "create_post?title=%body&url=%link&body=%body", "customDomain": true },

Thanks for the suggestion, you can propose a PR with it, I'll review it asap.

I don't know, if the json extended with this line is enough?

xundeenergie commented 2 years ago

I tried to add lemmy on my peertube-instance.

so i added the lines and svg-image from the PR and run yarn install in the dir of the plugin. Restarting peertube after that i can choose lemmy in settings, but no sharebuttons at all are shown. Removing lemmy from the list and run yarn install again brings the share-buttons back...

what's wrong?

xundeenergie commented 2 years ago

I activated sharing on Facebook too, because i think it is a good idea when people can show facebook-users that there are alternatives for the commercial platforms too...

BUT Then i tried to share to a friendica account and got this: image

The facebook-blocker in my browser blocks a facebook-element on sharing on friendica. What is this???