About This Method
This method uses the mastodon-embed-timeline (MEFT) JavaScript library. It fetches timeline data from the Mastodon API and renders it client-side into a designated HTML element.
Configuration requires setting JavaScript variables before loading the main library script. See the Configuration Script section below the rendered timeline.
Important: You need the Mastodon User ID (a number, not the username)
for the account you want to embed. You can often find this using API tools (like searching the account via
/.well-known/webfinger
on the instance and looking for the ID in the self
link)
or sometimes by viewing the source code of the user's profile page.