Class Page.Engagement

All Implemented Interfaces:
Serializable
Enclosing class:
Page

public static class Page.Engagement extends AbstractFacebookType
Represents the Page Engagement Graph API type. The social sentence and like count used to render the like plugin
Since:
1.10.0
See Also:
  • Constructor Details

  • Method Details

    • getCount

      public Long getCount()
      Number of people who like this.
      Returns:
      Number of people who like this
    • setCount

      public void setCount(Long count)
      Number of people who like this.
    • getCountString

      Abbreviated string representation of count.
      Returns:
      Abbreviated string representation of count
    • setCountString

      public void setCountString(String countString)
      Abbreviated string representation of count.
    • getCountStringWithLike

      Abbreviated string representation of count if the viewer likes the object.
      Returns:
      Abbreviated string representation of count if the viewer likes the object
    • setCountStringWithLike

      public void setCountStringWithLike(String countStringWithLike)
      Abbreviated string representation of count if the viewer likes the object.
    • getCountStringWithoutLike

      Abbreviated string representation of count if the viewer does not like the object.
      Returns:
      Abbreviated string representation of count if the viewer does not like the object
    • setCountStringWithoutLike

      public void setCountStringWithoutLike(String countStringWithoutLike)
      Abbreviated string representation of count if the viewer does not like the object.
    • getSocialSentence

      Text that the like button would currently display.
      Returns:
      Text that the like button would currently display
    • setSocialSentence

      public void setSocialSentence(String socialSentence)
      Text that the like button would currently display.
    • getSocialSentenceWithLike

      Text that the like button would display if the viewer likes the object.
      Returns:
      Text that the like button would display if the viewer likes the object
    • setSocialSentenceWithLike

      public void setSocialSentenceWithLike(String socialSentenceWithLike)
      Text that the like button would display if the viewer likes the object.
    • getSocialSentenceWithoutLike

      Text that the like button would display if the viewer does not like the object.
      Returns:
      Text that the like button would display if the viewer does not like the object
    • setSocialSentenceWithoutLike

      public void setSocialSentenceWithoutLike(String socialSentenceWithoutLike)
      Text that the like button would display if the viewer does not like the object.