Package com.restfb.types
Class Page.Engagement
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.Page.Engagement
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Page
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCount()
Number of people who like this.Abbreviated string representation of count.Abbreviated string representation of count if the viewer likes the object.Abbreviated string representation of count if the viewer does not like the object.Text that the like button would currently display.Text that the like button would display if the viewer likes the object.Text that the like button would display if the viewer does not like the object.void
Number of people who like this.void
setCountString
(String countString) Abbreviated string representation of count.void
setCountStringWithLike
(String countStringWithLike) Abbreviated string representation of count if the viewer likes the object.void
setCountStringWithoutLike
(String countStringWithoutLike) Abbreviated string representation of count if the viewer does not like the object.void
setSocialSentence
(String socialSentence) Text that the like button would currently display.void
setSocialSentenceWithLike
(String socialSentenceWithLike) Text that the like button would display if the viewer likes the object.void
setSocialSentenceWithoutLike
(String socialSentenceWithoutLike) Text that the like button would display if the viewer does not like the object.Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
Engagement
public Engagement()
-
-
Method Details
-
getCount
Number of people who like this.- Returns:
- Number of people who like this
-
setCount
Number of people who like this. -
getCountString
Abbreviated string representation of count.- Returns:
- Abbreviated string representation of count
-
setCountString
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
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
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
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
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
Text that the like button would display if the viewer does not like the object.
-