1. Examples
  2. /
  3. Activity Feed
3 min readPublished Jul 19, 2022

Activity Feed

Copy link to clipboardAdd an Activity Feed to your application 

Activity Feeds shows information in realtime in a list form. Information can be actions, system events or data being published in realtime. This allows a user to be informed without the need to refresh their page. Activity feeds can be published from a 3rd party service or from within your application.

Copy link to clipboardEvent Types

Activity Feeds may consist of multiple event types, for example, sports scores, commentary, red card alerts etc. Adding filters helps users to consume only the data they wish to receive. A user could select scores for example.

Copy link to clipboardWhere can I use Activity Feeds?

Copy link to clipboardOther Possible Features?

You can incorporate more functionality within your Activity Feeds such as:

  • Adding an indicator which signals to the user that there is new information to load.

  • Changing the look and feel of an event within a feed.

Copy link to clipboardBuilding your Activity Feed

Ably has simple yet powerful APIs to help you to build Activity Feeds to enrich the end user experience.

Copy link to clipboardAbly Channels

Channel is the unit of distribution of messages. Messages represent information, channels can be used to segment the feeds. For example, different matches in a sports event, types of information or tenants. Users or their devices can subscribe to a specific or multiple channels.

Copy link to clipboardAbly Pub/Sub Messaging

Pub/Sub is an architectural pattern used to distribute real-time information, as messages. Messages can be of any format. This can be advantageous to segment an activity feed into different types, which can be used to change the look and feel of an information card.

Copy link to clipboardAbly Rewind/History

History provides access to historical messages. This can be used to see previously published messages. 

Rewind allows you to specify, at the time of attaching to a channel, where to start the attachment from. This is another way to get historical information consistently if subscribing and receiving messages from a channel without using another API.

Copy link to clipboardGetting started: Activity Feeds checklist

You'll need to do the following to get started with adding an Activity Feed to your application.

  • Implement the UI for the Activity Feed

  • Consider the integration needed to publish events into feeds

  • Develop a storage mechanism to persist data for longer than Ably's limits

Copy link to clipboardWhat's next?

Join the Ably newsletter today

1000s of industry pioneers trust Ably for monthly insights on the realtime data economy.
Enter your email