org.springframework.social.twitter.api.TwitterProfile Java Examples

The following examples show how to use org.springframework.social.twitter.api.TwitterProfile. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DataController.java    From hive with Apache License 2.0 4 votes vote down vote up
@RequestMapping(value = "/profile/{twitterUser}")
public TwitterProfile getUserProfile(@PathVariable String twitterUser) {
    return twitterService.getUserProfile(twitterUser);
}
 
Example #2
Source File: TwitterService.java    From hive with Apache License 2.0 4 votes vote down vote up
/**
 * 
 * @param twitterUser
 * @return
 */
public TwitterProfile getUserProfile(String twitterUser) {
    UserOperations userOperations = twitter.userOperations();
    TwitterProfile userProfile = userOperations.getUserProfile(twitterUser);
    return userProfile;
}
 
Example #3
Source File: DataController.java    From phoenix with Apache License 2.0 4 votes vote down vote up
@RequestMapping(value = "/profile/{twitterUser}")
public TwitterProfile getUserProfile(@PathVariable String twitterUser) {
    return twitterService.getUserProfile(twitterUser);
}
 
Example #4
Source File: TwitterService.java    From phoenix with Apache License 2.0 4 votes vote down vote up
/**
 * 
 * @param twitterUser
 * @return
 */
public TwitterProfile getUserProfile(String twitterUser) {
    UserOperations userOperations = twitter.userOperations();
    TwitterProfile userProfile = userOperations.getUserProfile(twitterUser);
    return userProfile;
}
 
Example #5
Source File: DataController.java    From hive with Apache License 2.0 4 votes vote down vote up
@RequestMapping(value = "/profile/{twitterUser}")
public TwitterProfile getUserProfile(@PathVariable String twitterUser) {
    return twitterService.getUserProfile(twitterUser);
}
 
Example #6
Source File: TwitterService.java    From hive with Apache License 2.0 4 votes vote down vote up
/**
 * 
 * @param twitterUser
 * @return
 */
public TwitterProfile getUserProfile(String twitterUser) {
    UserOperations userOperations = twitter.userOperations();
    TwitterProfile userProfile = userOperations.getUserProfile(twitterUser);
    return userProfile;
}
 
Example #7
Source File: DataController.java    From phoenix with Apache License 2.0 4 votes vote down vote up
@RequestMapping(value = "/profile/{twitterUser}")
public TwitterProfile getUserProfile(@PathVariable String twitterUser) {
    return twitterService.getUserProfile(twitterUser);
}
 
Example #8
Source File: TwitterService.java    From phoenix with Apache License 2.0 4 votes vote down vote up
/**
 * 
 * @param twitterUser
 * @return
 */
public TwitterProfile getUserProfile(String twitterUser) {
    UserOperations userOperations = twitter.userOperations();
    TwitterProfile userProfile = userOperations.getUserProfile(twitterUser);
    return userProfile;
}