Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

scrivito-twitter-timeline

1.0.4 • Public • Published

Scrivito Twitter Timeline

CMS: Scrivito License: MIT

A Twitter timeline React component/Scrivito widget for the Scrivito CMS.

Screenshot

Screenshot

Installation

Open your terminal.

$ cd to your Scrivito project

$ npm install scrivito-twitter-timeline

Import the widget in your javascript src/Widgets/index.js.

Add this line to your index.js:

import "scrivito-twitter-timeline";

Add the following lines to your '_headersCsp.json' in the public directory of your Scrivito App:

"script-src"[
 
        "https://platform.twitter.com/widgets.js",
        "https://platform.twitter.com/js/",
        "https://cdn.syndication.twimg.com/timeline/profile"
    ],

Widget properties

In the widget properties you can set:

  • Twitter name e.g. "scrivito"

Install

npm i scrivito-twitter-timeline

DownloadsWeekly Downloads

2

Version

1.0.4

License

MIT

Unpacked Size

6.05 kB

Total Files

4

Last publish

Collaborators

  • avatar