Class FacebookPage


  • public final class FacebookPage
    extends Object
    A Facebook page for Facebook channel registration.
    • Constructor Detail

      • FacebookPage

        public FacebookPage()
    • Method Detail

      • id

        public String id()
        Get the id property: Page id.
        Returns:
        the id value.
      • withId

        public FacebookPage withId​(String id)
        Set the id property: Page id.
        Parameters:
        id - the id value to set.
        Returns:
        the FacebookPage object itself.
      • accessToken

        public String accessToken()
        Get the accessToken property: Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.
        Returns:
        the accessToken value.
      • withAccessToken

        public FacebookPage withAccessToken​(String accessToken)
        Set the accessToken property: Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.
        Parameters:
        accessToken - the accessToken value to set.
        Returns:
        the FacebookPage object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.