Title: Fediverse Embeds
Author: Stefan Bohacek
Published: <strong>November 15, 2023</strong>
Last modified: May 31, 2026

---

Search plugins

![](https://ps.w.org/fediverse-embeds/assets/banner-772x250.png?rev=2997951)

![](https://ps.w.org/fediverse-embeds/assets/icon-256x256.png?rev=2997951)

# Fediverse Embeds

 By [Stefan Bohacek](https://profiles.wordpress.org/fourtonfish/)

[Download](https://downloads.wordpress.org/plugin/fediverse-embeds.zip)

 * [Details](https://wordpress.org/plugins/fediverse-embeds/#description)
 * [Reviews](https://wordpress.org/plugins/fediverse-embeds/#reviews)
 * [Development](https://wordpress.org/plugins/fediverse-embeds/#developers)

 [Support](https://wordpress.org/support/plugin/fediverse-embeds/)

## Description

This plugin lets you optimize and customize embedded posts from fediverse platform
that support this feature.

Please visit the GitHub repo for instructions on [how to embed posts](https://github.com/stefanbohacek/fediverse-embeds-wordpress-plugin#supported-platforms)
and for [general FAQ and troubleshooting tips](https://github.com/stefanbohacek/fediverse-embeds-wordpress-plugin#faq).

[Learn more](https://stefanbohacek.com/project/wordpress-plugin-for-fediverse-embeds/)
| [View source](https://github.com/stefanbohacek/fediverse-embeds-wordpress-plugin)

### Privacy notice

When embedding a post from a fediverse server, the content of the post needs to 
be fetched from that server, which is then stored in your site’s database. Based
on the way you configure the plugin, additional requests will be made periodically
to refresh the cached data.

When making requests to a third party server in general, the server will receive
and may record the IP address of the server hosting your website. Please consult
the privacy details and terms of use of each server you are embedding content from.(
Example for mastodon.social: [About Mastodon](https://mastodon.social/privacy-policy),
[Privacy policy](https://mastodon.social/privacy-policy))

### Development

The complete source code for this plugin, including unminified JavaScript and SCSS
files, is publicly available on GitHub:

https://github.com/stefanbohacek/fediverse-embeds-wordpress-plugin

To build the plugin from source you will need Node.js (v18+) and npm. Run the following
commands from the plugin root:

 1. npm install
 2. npm run dev

The build process uses Gulp with Browserify and Babel to bundle and minify the JavaScript
files located in the src directory, and compiles SCSS to CSS. The compiled output
is placed in the dist directory.

## Screenshots

 * [[
 * [[
 * [[
 * [[
 * [[

## Reviews

![](https://secure.gravatar.com/avatar/4087ae20d8b44d9f83dbff0d4dc1635a83c35e0fb9ff27caabddf85930c89e8a?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-3382/)󠁿

 [cybeardjm](https://profiles.wordpress.org/didierjm/) November 15, 2023

For people who migrated from X/Twitter to Mastodon and like to embed real posts 
in what they publish on their blog(s), instead of adding a capture/screenshot, this
plugin is really useful.Disclaimer: been testing it for quite some time, long before
its release…

 [ Read all 1 review ](https://wordpress.org/support/plugin/fediverse-embeds/reviews/)

## Contributors & Developers

“Fediverse Embeds” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Stefan Bohacek ](https://profiles.wordpress.org/fourtonfish/)

[Translate “Fediverse Embeds” into your language.](https://translate.wordpress.org/projects/wp-plugins/fediverse-embeds)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/fediverse-embeds/),
check out the [SVN repository](https://plugins.svn.wordpress.org/fediverse-embeds/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/fediverse-embeds/)
by [RSS](https://plugins.trac.wordpress.org/log/fediverse-embeds/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.6.7

Simplified reporting of domains missing in the allow-list. Minor code cleanup.

#### 1.6.7

Don’t show admin notice about disallowed domains for media files for deleted posts.
Overall code cleanup.

#### 1.6.6

Include mastodon.social and mastodon.nz in the default domain allow-list.

#### 1.6.5

 * Improved handling and visibility of media-hosting domains by listing pending 
   domains that may need to be allowed an an admin prompt under embeds with blocked
   media.

#### 1.6.4

 * Code cleanup and minor fixes related to internationalization and media cache.
 * Updated minimum WordPress version.
 * Updated license.

#### 1.6.3

 * Don’t handle index.html as a media file.

#### 1.6.2

 * Show file count together with the total size of the media folder.

#### 1.6.1

 * Added fallback image for broken preview card thumbnails.

#### 1.6.0

 * Added tools for managing posts.
 * Added advanced settings for managing allowed domains for loading media files.
 * Added lazy loading when more than four posts are embedded on a page or in a post.
 * Security and performance improvements.

#### 1.5.15

 * Fixed a compatibility issue with the database migration.

#### 1.5.14

 * Performance improvements to media handling, link previews, and the Settings page.

#### 1.5.13

 * Security improvements across post embedding, the media proxy, and link preview
   fetching.

#### 1.5.12

 * Improved security of embedded post rendering.

#### 1.5.11

 * Fixed missing dependency.

#### 1.5.10

 * Improved security of embedded post rendering and the media proxy.

#### 1.5.9

 * Added support for additional media hosting providers.

#### 1.5.8

 * Improved security of the media proxy and site info endpoints.

#### 1.5.7

 * Removed debug logs.

#### 1.5.6

 * Removed debug logs.

#### 1.5.5

 * Prevent listing files inside the media upload directory.

#### 1.5.4

 * Improved secure downloading of embedded media files.

#### 1.5.3

 * Check MIME type of proxied media files after saving to disk, delete if unsafe.

#### 1.5.2

 * Check MIME type of proxied media files before saving to disk.

#### 1.5.1

 * Removed extra plugin tag to comply with WordPress Plugin Directory’s requirement
   of maximum 5 tags.

#### 1.5.0

 * Added an option to periodically refresh embedded posts.

#### 1.4.7

 * Added placeholder image for missing profile pictures.

#### 1.4.6

 * Added support for Mastodon 4.3 embed code, which uses blockquotes instead of 
   iframes.

#### 1.4.5

 * Added a workaround Mastodon embed detection.

#### 1.4.4

 * Added internal environmental variable “FTF_FE_ALWAYS_ENQUEUE” for overriding 
   the “should_embed_assets” function.

#### 1.4.3

 * Scaled down the “broken image” placeholder image.

#### 1.4.2

 * Fixed conflict with embedded WordPress posts.

#### 1.4.1

 * Added placeholder image for missing images in posts.

#### 1.4.0

 * Only load JS/CSS files when needed. Show a placeholder image when media attachments
   are not available.

#### 1.3.1

 * Fixed profile info section layout.

#### 1.3.0

 * Added an option to use an always-light or always-dark theme.

#### 1.2.1

 * Added missing PHP file.

#### 1.2.0

 * Added polyfills to support PHP 7.4+.

#### 1.1.9

 * Check if wp_remote_get returns a WP Error object.

#### 1.1.8

 * Moved the main script to the footer to resolve an issue with import maps with
   classic themes.

#### 1.1.7

 * Fixed image alt text with quotes not displaying in full.

#### 1.1.6

 * Removed debug statement intended for testing.

#### 1.1.5

 * Fixed blockquote formatting.

#### 1.1.4

 * Disabled development log.

#### 1.1.3

 * Add the “alt text” badge to videos.

#### 1.1.2

 * Hide the “alt text” badge from screen readers.

#### 1.1.1

 * Fixed code error preventing “alt text” badge from working.

#### 1.1.0

 * Added “alt text” badge to images.

#### 1.0.15

 * Fixed posts that contain only attachments and no content not rendering.

#### 1.0.14

 * Fixed blank display name preventing posts from rendering.

#### 1.0.13

 * Minor code cleanup.

#### 1.0.12

 * Added “defer” strategy to the main plugin JS file.

#### 1.0.11

 * Updated image alt text field.

#### 1.0.10

 * Minor code cleanup.

#### 1.0.9

 * Minor code cleanup.

#### 1.0.8

 * Minor code cleanup.

#### 1.0.7

 * Temporarily skip Pixelfed embeds.

#### 1.0.6

 * Display attached images in full height.

#### 1.0.5

 * Include the plugin version for easier debugging.

#### 1.0.4

 * Minor styling cleanup.

#### 1.0.3

 * Fixed fatal error when the simple_html_dom class already exists.

#### 1.0.2

 * Updated WordPress compatibility version.

#### 1.0.1

 * Keep the blockquote as parent element when rendering embedded post.

#### 1.0

 * Initial release.

## Meta

 *  Version **1.6.8**
 *  Last updated **1 week ago**
 *  Active installations **60+**
 *  WordPress version ** 5.9 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [embed](https://wordpress.org/plugins/tags/embed/)[fediverse](https://wordpress.org/plugins/tags/fediverse/)
   [mastodon](https://wordpress.org/plugins/tags/mastodon/)[post](https://wordpress.org/plugins/tags/post/)
 *  [Advanced View](https://wordpress.org/plugins/fediverse-embeds/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/fediverse-embeds/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/fediverse-embeds/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/fediverse-embeds/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/fediverse-embeds/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/fediverse-embeds/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/fediverse-embeds/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/fediverse-embeds/reviews/)

## Contributors

 *   [ Stefan Bohacek ](https://profiles.wordpress.org/fourtonfish/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/fediverse-embeds/)