Working with the Sample Project

Working through the sample project helps you understand how ActiveMatrix BusinessWorks Plug-in for Facebook operates.

TIBCO ActiveMatrix BusinessWorks Plug-in for Facebook is packaged with a sample project within the installer. After installing the plug-in, you can find the sample project which is located in the TIBCO_HOME\bw\palettes\facebook\version_number\samples directory.

The example assumes that a small family-owned purveyor of hand-crafted garden ornaments has a number of customers. Each customer is a fan of the store's Facebook page, which helps customers to keep abreast of new products and other exciting developments. The tutorial uses the term fan for any user who adds a comment to a page post, likes a post, or adds a post to the company page. The webmaster uses ActiveMatrix BusinessWorks Plug-in for Facebook to obtain customers' interests and then decide the product direction.

The sample project consists of two processes:
  1. The Configurations for ParsingPageFeeds Process collects the user ID of the company's Facebook page fans.
  2. The Configurations for ProductDirection Process checks how many company fans are also fans of the National Weather Service, and compares the two numbers.