activityDetails Element
The activityDetails element stores the raw data for a single activity feed item. Each activity feed item must have its own activityDetails element. Data in the activityDetails element is referenced in activity templates by using name elements. Every piece of data in the activityDetails element must have a name element.
The following table describes the six elements that the activityDetails element requires.
Element | Description |
---|---|
ownerID |
The ID of the user on the social network who generated this activity feed item. |
objectID |
A unique string for the activity feed item to detect duplicate feed items. |
applicationId |
One of two unique IDs that are used to match the activity feed item with its template. If you have multiple applications or other groupings, this can be used as a first-tier template organizer. |
templateId |
The second unique ID that is used to match the activity feed item with its template. This can be used as a second-tier template organizer. |
publishDate |
The date and time that the activity feed item was published. |
templateVariables |
The data to be used in the tokens for the activity feed item template. |
For an example of activity feed XML, see Activity Feed XML Example