angular-facebook-insight

angular component that renders your Facebook page insights


Keywords
angular, facebook, social, insight
License
MIT
Install
bower install angular-facebook-insight

Documentation

Build Status Built with Grunt

Angular Facebook Insight

The angular component which lets you requests your Facebook page insight and creates a fancy dashboard !

Installation

Install the module using bower

    bower install angular-facebook-insight

Add js libraries to your application:

    ...
    <script src="bower_components/angular-facebook-insight/dist/angular-facebook-insight.js"></script>
    ...

Add css stylesheets to your application:

    <link rel="stylesheet" href="bower_components/angular-facebook-insight/dist/css/angular-facebook-insight.css"/>

Add ngFacebookInsight module to you application

    ...
    angular
      .module('myAwesomeApp', [
        ...
        'ngFacebookInsight',
        ...
      ])
    ...

Usage

All you need is to place a ngFacebookInsight with its attribute in your view like the following piece of code:

    ...
        <facebook-insight 
            overview="overview"
            todaystats="todaystats" 
            reach="reach"
            sources="sources"
            referrals="referrals"
            stories="stories" 
            geographics="geographics"
            fans="fans"
            negativefeed="negativefeed"
            roi="roi"></facebook-insight>
    ...

TODO: document each attribute

Brower compatibility