This is a jQuery plugin for grabbing and displaying facebook activity feed from public available entities. It requires to have jQuery and jQuery Template Plugin to be loaded on page before running this plugin
In order to use this plugin, first you need to load jquery, jquery template plugin and jquey facebookfeed plugin.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.js"></script>
<script type="text/javascript" src="jquery.facebookfeed.min.js"></script>
And then call facebookfeed plugin for container of your choise
$("#feed").facebookfeed(parameters);
You can use several parameters in plugin call:
- id - id of the facebook entity
- template - template for formatting each feed entry
- query - additional query parameters for filtering and formatting (will be added to query string)
- access_token - access token from facebook as generated by https://graph.facebook.com/oauth/access_token?client_id=YOUR_APP_ID&client_secret=YOUR_APP_SECRET&grant_type=client_credentials