Automate the process using the Feature APIs
Use the Feature APIs to automate the process by which content is Featured. For example, when creating a Live Blog or Comment App, Feature all content posted by a selected moderator to steer the conversation, and establish consistency within the stream.
Livefyre offers both Feature and Unfeature APIs.
Resource
POST: https://{networkName}.quill.fyre.co/api/v3.0/collection/<collectionId>/feature/<commentId>/?lftoken=<base64userToken>
Enter the user token for your selected moderator.
Post Data
{value: <number>}
The value will be used to sort featured content, largest to smallest (10 will appear before 1 in the featured content list). This value defaults to now in epoch time, so featured comments will typically be sorted newest to oldest.
Example Response
{"status": "ok", "code": 200, "data": null}
The data field is not yet in use.
Resource
POST: https://{networkName}.quill.fyre.co/api/v3.0/collection/<collectionId>/unfeature/<commentId>/?lftoken=<base64userToken>
Enter the user token for your selected moderator.
Example Response
{"status": "ok", "code": 200, "data": null}
The data field is not yet in use.