Bridgeline Digital Logo
Menu

SocialBundle

The Social API requests reference an object of type SocialBundle. The following properties define this object.

SocialBundle Properties

  • originId : Id, A list of filters. For more information see Filter Properties below.
  • socialID : Id, The Id of the SocialData__c object that is associated with the content or page.
  • objectStatus : String, Status of the related object. Possible object statuses:
    • Expired
    • Unpublished
    • Published
  • likes : Integer, The number of likes from the SocialData__c record.
  • views : Integer, The number of views from the SocialData__c record.
  • socialActivity : SocialActivity, My social activity likes/views.

SocialActivity Properties

The SocialBundle object references an object of type SocialActivity. The following properties define this object.

  • likedByMe : Boolean, Whether there is a SocialData_Activity__c.Liked record for this user.  Will return either TRUE or FALSE.
  • likedDate : DateTime, The date time the item was liked by the user.
  • viewedByMe : Boolean, Whether there is a SocialData_Activity__c.Viewed record for this user. Will return either TRUE or FALSE.
  • viewedDate : DateTime, The date time the item was last viewed by the user.