Spring Social Twitter

org.springframework.social.twitter.connect
Class TwitterServiceProvider

java.lang.Object
  extended by org.springframework.social.oauth1.AbstractOAuth1ServiceProvider<Twitter>
      extended by org.springframework.social.twitter.connect.TwitterServiceProvider
All Implemented Interfaces:
org.springframework.social.oauth1.OAuth1ServiceProvider<Twitter>, org.springframework.social.ServiceProvider<Twitter>

public class TwitterServiceProvider
extends org.springframework.social.oauth1.AbstractOAuth1ServiceProvider<Twitter>

Twitter ServiceProvider implementation.

Author:
Keith Donald, Craig Walls

Constructor Summary
TwitterServiceProvider(java.lang.String consumerKey, java.lang.String consumerSecret)
           
 
Method Summary
 Twitter getApi(java.lang.String accessToken, java.lang.String secret)
           
 
Methods inherited from class org.springframework.social.oauth1.AbstractOAuth1ServiceProvider
getConsumerKey, getConsumerSecret, getOAuthOperations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwitterServiceProvider

public TwitterServiceProvider(java.lang.String consumerKey,
                              java.lang.String consumerSecret)
Method Detail

getApi

public Twitter getApi(java.lang.String accessToken,
                      java.lang.String secret)
Specified by:
getApi in interface org.springframework.social.oauth1.OAuth1ServiceProvider<Twitter>
Specified by:
getApi in class org.springframework.social.oauth1.AbstractOAuth1ServiceProvider<Twitter>

Spring Social Twitter