Difference between revisions of "Stream API v2"

m (Overview)
(Overview)
Line 2: Line 2:
  
 
==Overview==
 
==Overview==
JomSocial 2.8 brings the slight change in how activity streams are handled and introduces different templates for different types of streams. This allows easier customization of every individual's activity stream item; however, this feature will require third-party components to write in a stream with a plugin, unlike it was the case with JomSocial 2.6 and below. <br/>
+
Since JomSocial 2.8 onwards, we bring the massive change in how activity streams are handled and introduce a set of new rules to follow which will allow more freedom for third party developers to easier customize every individual's activity stream item;<br/>
You can still use the old API to create the activity streams, but you can't use the '''{multiple}'''...'''{/multiple}''' tags anymore as they are completely removed and will cause activity streams to break. (It will be created, but will not be shown on Front End)
+
JomSocial 2.8+ streams '''are NOT''' backward compatible with JomSocial 2.6 and bellow, however, some legacy support for old activity stream exist in JomSocial 2.8 and above. This does not necessarily mean your old activity will work though.<br/>
 +
You can still use the old API to create the activity streams, but you can't use the '''{multiple}'''...'''{/multiple}''' tags anymore as they are completely removed and will cause activity streams to break. (It will be created, but will not be shown on Front End).
 +
 
 +
==Storing & Displaying==
 +
Unlike JomSocial 2.6where third party activity stream were created by JomSocial APIv1 and

Revision as of 11:30, 24 April 2013

WARNING: API examples below apply to version 2.8. To read the full Activity Stream API for older versions, click here

Overview

Since JomSocial 2.8 onwards, we bring the massive change in how activity streams are handled and introduce a set of new rules to follow which will allow more freedom for third party developers to easier customize every individual's activity stream item;
JomSocial 2.8+ streams are NOT backward compatible with JomSocial 2.6 and bellow, however, some legacy support for old activity stream exist in JomSocial 2.8 and above. This does not necessarily mean your old activity will work though.
You can still use the old API to create the activity streams, but you can't use the {multiple}...{/multiple} tags anymore as they are completely removed and will cause activity streams to break. (It will be created, but will not be shown on Front End).

Storing & Displaying

Unlike JomSocial 2.6where third party activity stream were created by JomSocial APIv1 and