Logging activity of becoming friends

Logging heartbeatactivity with flag_friend

This module can be used with heartbeat and the only thing that needs to be done is log to the activity table and calculate the friendslist of each user.

Logging heartbeatactivity with FriendsList

This is one of the main reasons why i built heartbeat. Doing everything with User Interface only and thus using the great rules module is a nice thing.

So with friendlist module comes some default rules and events. Heartbeat hooks into these events by logging the activity with rules' actions. Enabling the friendlist activity module with friendlist together with hrules submodule, should provice you the most basic example: "When a page is created, heartbeat logs the activity for it".

Ofcourse, when not using rules, you can do it just in the same way as flag_friend and UserRelationships.

Logging heartbeatactivity with User relationships