Mastodon: Ability to embed a profile or timeline

Created on 24 Dec 2017  路  7Comments  路  Source: tootsuite/mastodon

Is it possible to embed a profile or timeline? I would like to embed my mastodon profile to my site.

suggestion

Most helpful comment

You could do this by parsing the RSS feed, that's what I did to add my toot's to my webpage. Maybe it is useful for you https://gitlab.com/BeS/hugo-sustain-ng/blob/master/static/js/feedreader.js

All 7 comments

No, only individual posts are embeddable right now.

You could do this by parsing the RSS feed, that's what I did to add my toot's to my webpage. Maybe it is useful for you https://gitlab.com/BeS/hugo-sustain-ng/blob/master/static/js/feedreader.js

@schiessle what rss feed did you use?

@themushmouth afaik, there is only one per user: https://mastodon.social/@bjoern.atom

See #1065 for embedding individual post.

@schiessle Your current website also seems to get various other parts from Mastodon now. Is that still done via the RSS feed? Would it be very difficult to abstract that part out to use in any static website?

no, I wrote a small PHP app which uses the mastodon API to fetch all the information: https://gitlab.com/BeS/hugo-sustain-ng/tree/master/static/mastodon.comments

Was this page helpful?
0 / 5 - 0 ratings