clay-facebook-post

A simple facebook post embed component for clay

Usage no npm install needed!

<script type="module">
  import clayFacebookPost from 'https://cdn.skypack.dev/clay-facebook-post';
</script>

README

clay-facebook-post

A component for Clay.

Install

npm install --save clay-facebook-post

Adds a facebook post component.

Usage

Once you install it, it will be automatically recognized by amphora.

To include it, create an instance of it and add a reference to a component list.

In edit mode, it'll display as a link (because Facebook, unlike twitter, doesn't fall back gracefully when their script isn't loaded). In view mode, it'll display an embedded facebook post.