One of the best ways to make your site social is to let users see what their friends have been doing on your site. It creates instant personalization and social context for users who login with identities like Facebook, Twitter, Yahoo, LinkedIn, Google, etc. There are many ways to accomplish this using Gigya but here are two approaches to get you started:
1. Activity Feed Plugin
Our Activity Feed Plugin is one of our most popular plugins because it allows logged-in users to see a real-time stream of friend activities on your site. Think of it as having a complete activity stream without having to implement your own back-end solution.
The plugin is dirt simple to get up and running. Just call the socialize.showFeedUI API method from any page on your site and the Activity Feed renders in HTML. It has a single required parameter called “containerID” which is the DIV container where you want the plugin to show up:
<h3>Activity Feed Plugin Demo</h3>
<div id="ActivityFeedContainer"></div>
<script type="text/javascript">
gigya.services.socialize.showFeedUI(conf, {containerID: 'ActivityFeedContainer'});
</script>
A complete working example of the Activity Feed plugin can be found here.
(more…)