social-feed-app

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.

Usage no npm install needed!

<script type="module">
  import socialFeedApp from 'https://cdn.skypack.dev/social-feed-app';
</script>

README

Social Feed React App

NPM JavaScript Style Guide

Description

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.

Install

npm install --save social-feed-app

Usage

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} />
    )
  }
}

Properties

  • limit Number of posts to display
  • network Includes entities from a specified social network only
  • interval Update interval

License

MIT © vasaeps3