Activity Feed

The Activity feed displays the most interesting, recent activity taking place on your site, using actions (such as likes) by your friends and other people.
App ID
Domain
Actions to Show
Width
Height
Maximum Age
Color Scheme

Settings

The configurator above doesn't include all of the possible settings for your Activity feed. You can also change the following settings:
SettingHTML5 AttributeDescriptionDefault
actiondata-actionA comma-separated list of Open Graph action types to show in the feed.Any action type
app_iddata-app-idDisplay all actions associated with this app ID. This is usually inferred from the app ID you use to initiate the [JavaScript SDK].None
colorschemedata-colorschemeThe color scheme used by the plugin. Can be "light" or "dark"."light"
filterdata-filterAllows you to filter which URLs are shown in the plugin. For example, if the siteparameter is set to 'www.example.com' and the filter parameter was set to '/section1/section2' then only pages which matched 'http://www.example.com/section1/section2/*' would be included in the activity feed section of this plugin. This filter does not apply to any recommendations which may appear in this plugin (seerecommendations setting).None
headerdata-headerShow the "Recent Activity" header above the feed. Can be "true" or "false""true"
heightdata-heightThe height of the plugin in pixels.300
linktargetdata-linktargetDetermines what happens when people click on the links in the feed. Can be any of the standard HTML target values."_blank"
max_agedata-max-ageLimit the created time of articles that are shown in the feed. Valid values are 1-180, which represents the age in days to limit to.0 (no limit)
recommendationsdata-recommendationsSpecifies whether to always show recommendations (Articles liked by a high amount of people) in the bottom half of the feed. Can be "true" or "false"."false"
refdata-refA label for tracking referrals which must be less than 50 characters and can contain alphanumeric characters and some punctuation (currently +/=-.:_). See the FAQfor more details.None
sitedata-siteThe domain for which to show activity.Current domain
widthdata-widthThe width of the plugin in pixels.300

FAQ

How can I track referrals from an Activity Feed?

The ref setting causes a parameter to be added to the referrer URL when a person clicks a link in the feed:
  • fb_ref - the ref parameter
For example:
http://www.facebook.com/l.php?fb_ref=archivepage_feed
You can track these parameters using your analytics software.