Statamic plugin for embedding public Facebook Posts.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
pi.facebook_embed.php
readme.md

readme.md

Statamic Facebook Embed Plugin

NOTE: Tested on Statamic 1.x only. This plugin is no longer under development. If it still has any value, please feel free to fork and take over.

This plugin allows you to quickly & easily embed public Facebook Posts into Statamic-powered websites.

You can see it in action on my personal site, andreademers.com.

To learn more, check out the Facebook developers Embedded Posts documentation.

Installation

  1. Download the files, and copy them to /_add-ons/facebook_embed.
  2. Make sure that the folder name is facebook_embed.

Usage

Tag

{{ facebook_embed:post }}

Parameter

url (required)

This is the URL of the public Facebook Post you wish to embed.

For example: https://www.facebook.com/andrea.demers/posts/10152163567674815

Example

{{ facebook_embed:post url="https://www.facebook.com/andrea.demers/posts/10152163567674815" }}