scrivito-twitter-timeline
v1.0.4
Published
A Twitter timeline React component/Scrivito widget for the Scrivito CMS.
Downloads
5
Readme
Scrivito Twitter Timeline
A Twitter timeline React component/Scrivito widget for the Scrivito CMS.
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"