-
-
Notifications
You must be signed in to change notification settings - Fork 351
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] Embed post in other locations #1159
Comments
out of curiosity, from your perspective, what exactly are the requirements to consider a post format embeddable? |
Ah @ppetermann thanks for pointing to ogp graph. Didnt realized about that. That is one part of the equation. Another angle is a lot of folks now would want things like https://github.com/kbravh/obsidian-tweet-to-markdown kind of plugins. Does that makes sense? |
wouldnt the regular api (https://mastodon.social/api/v1/statuses/103165388934116709) be sufficient? |
never mind, seems gotosocial currently requires the token even for public posts (but maybe changing that would be a solve?) |
Ya if we have an endpoint which gives json without requiring auth that would solve the problem. |
that's unlikely to be something we'll implement :P [edit] Just to expand on this, we do have a flag to expose the public timeline: #1039 But exposing individual posts via the API without auth is a different matter.. |
@tsmethurst public posts are available as html without auth already the only difference would be how easy it is to parse? |
That's not the only difference. It also makes posts easier to scrape, and additional information is exposed in the json that isn't exposed via the web |
Not certain if anything's changed in the intervening time, but just throwing in one additional data-point in favour of limited unauthenticated access for
Comments via the Fediverse are ideal, as they solve issues with discoverability (arguably both ways) and authentication; however, the solutions above are not feasible with Gotosocial, as access to I suppose you're still averse to allowing for (configurable) access to public statuses by ID for unauthenticated actors due to aforementioned additional data being returned, but AFAICT any reasonable scraping these endpoints would require access to the timeline (in order to get valid IDs), and it might also be possible to withhold certain sensitive fields from responses for unauthenticated requests. |
@ppetermann Just adding my own data point, but I think the key is having a single post's page formatted in such a way that it fits seamlessly into an For example, Mastodon's embed feature on a post generates this embed HTML
when added to a page, renders as The main audience for this would be webpages and blogs that want to render single posts. https://blog.medium.com/now-you-can-embed-mastodon-posts-in-medium-stories-99b11d0baa7f |
Is your feature request related to a problem ?
Currently mastodon provides following features.
for example https://mastodon.social/@anantshri/103165388934116709
is also available in json @ https://mastodon.social/@anantshri/103165388934116709.json
and is also available as embedable format https://mastodon.social/@anantshri/103165388934116709/embed
This allows quick sharing of the post if someone wants outside of fediverse also.
Describe the solution you'd like.
Enable any of the two options in gotosocial interface
Describe alternatives you've considered.
NONE
Additional context.
No response
The text was updated successfully, but these errors were encountered: