Package com.adobe.acs.commons.twitter
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 TypeMethodDescriptioncom.day.cq.wcm.webservicesupport.ConfigurationGet the Cloud Service Configuration from which this client was created.twitter4j.TwitterGet 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
-