@flockler/react-flockler-embed
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

@flockler/react-flockler-embed

Install

npm install @flockler/react-flockler-embed

Usage

Let’s say your embed display has a preview URL like this:

https://plugins.flockler.com/embed/preview/16e88f68c280078e6c3cc65257156295/16ea79d892f0a038af66109643d7479f

The IDs needed by the <FlocklerEmbed /> component can be parsed from the preview URL as follows

  • siteUuid => 16e88f68c280078e6c3cc65257156295
  • embedUuid => 16ea79d892f0a038af66109643d7479f
import FlocklerEmbed from '@flockler/react-flockler-embed';

const MySocialWall = () => (
  <div>
    <h1>Social Wall</h1>
    <FlocklerEmbed siteUuid="…" embedUuid="…" />
  </div>
);

Props

Prop Type Description
siteUuid Flockler UUID string The UUID of your Flockler
embedUuid Flockler UUID string The UUID of an embed display on your Flockler

FAQ

What’s Flockler?

Flockler helps you to display Instagram images, Facebook posts, Tweets, YouTube videos, and more on any digital service to increase time spent on site and drive conversions.

Where can I create my own social wall?

Visit flockler.com to learn more and sign up for a free 14-day trial.

Package Sidebar

Install

npm i @flockler/react-flockler-embed

Weekly Downloads

2,007

Version

1.0.4

License

MIT

Unpacked Size

9.31 kB

Total Files

7

Last publish

Collaborators

  • flockler-ceo