Facebook integration

Use the power of the world's biggest social media community to spread the word on products or the store with embedded Facebook Like or Send/Share buttons.

Important: The code assets included in for Facebook integration are samples provided for our use as is. The assets are not tested for production use with the most recent version of the Facebook platform. Therefore, IBM cannot guarantee the reliability, serviceability, or functions of these assets.

Facebook has over a billion users who are vocal about what they like. Tapping into this community extends the reach of the store, letting users promote your brand and products to their friends.

Facebook integration introduces the following Facebook functions to the Aurora starter store:

In addition, marketers can use web and dialog activities to capture Like actions on store pages using the following social commerce trigger and target:

Note: Due to the change in Facebook API, when you connect to Facebook from Aurora, we might get the Invalid Scopes: publish_stream error. To resolve this error, navigate to FBintegration.js. Find publish_stream and replace it with publish_actions.


Connect to Facebook button

The Connect to Facebook button prompts a shopper to log in to their Facebook account and connect it to the store. Upon doing so for the first time, the shopper is asked to authorize the store's Facebook application to allow the application to access the shopper's information. Once completed, the shopper is not prompted to authorize again unless they remove the application on Facebook.

If Facebook integration is enabled, the Connect to Facebook button is automatically displayed in the Aurora header. If a shopper attempts to like or share products without being signed in, they are prompted to do so.

Note: A shopper must authorize the application for their likes to be registered by the marketing engine. If they do not, they can continue liking products and sending messages to Facebook friends using the provided buttons, but no statistics are recorded by the marketing engine.

See Facebook Login.


Facebook Like and Send/Share buttons

The Facebook Like and Send/Share buttons are displayed on all product pages automatically. They are only displayed if Facebook integration is enabled.

The Facebook Like and Send/Share buttons are contained within the Facebook Like widget.

For more information about the Like and Send/Share buttons, see Facebook: Like button and Facebook: Send button.


Facebook marketing and promotions

The Customer Participates in Social Commerce trigger and the Social Commerce Participation target is enhanced to track shoppers who like the store home page or a product. Shoppers can be identified and placed into customer segments or shown specific e-Marketing Spots based on their Facebook behavior in the store. Tracking of Facebook marketing events is done through the Personalization ID, which is associated with either the guest user or registered shopper.


Limitations


Related reference
Registration page (B2B)
Aurora starter store functions