Widget renders N last social posts from JSON feed. The widget pull updates from the feed with the given interval and update the display list by removing old items and displaying the new ones.
npm install --save social-feed-app
import * as React from 'react';
import SocialPosts from 'social-feed-app';
class Example extends React.Component {
render () {
return (
<SocialPosts limit={5} network="twitter" interval={1000} />
)
}
}
limit
Number of posts to displaynetwork
Includes entities from a specified social network onlyinterval
Update interval
MIT © vasaeps3