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 Detail

      • 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