Interface TwitterClient


@ProviderType public interface TwitterClient
Service interface which wraps the Twitter4j API to expose the originating Cloud Service Configuration. To obtain an instance of this class, adapt either a Page or a Configuration object. Note that these clients always use only Application authentication.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.day.cq.wcm.webservicesupport.Configuration
    Get the Cloud Service Configuration from which this client was created.
    twitter4j.Twitter
    Get the Twitter4j client.
  • Method Details

    • getServiceConfiguration

      com.day.cq.wcm.webservicesupport.Configuration getServiceConfiguration()
      Get the Cloud Service Configuration from which this client was created.
      Returns:
      the service configuration
    • getTwitter

      twitter4j.Twitter getTwitter()
      Get the Twitter4j client.
      Returns:
      the client