Package | Description |
---|---|
org.springframework.social.twitter.api |
Spring Social's Service API for Twitter
|
Modifier and Type | Method and Description |
---|---|
TwitterProfile |
BlockOperations.block(long userId)
Blocks a user.
|
TwitterProfile |
BlockOperations.block(String screenName)
Blocks a user.
|
TwitterProfile |
FriendOperations.disableNotifications(long userId)
Disable mobile device notifications from Twitter for the specified user.
|
TwitterProfile |
FriendOperations.disableNotifications(String screenName)
Disable mobile device notifications from Twitter for the specified user.
|
TwitterProfile |
FriendOperations.enableNotifications(long userId)
Enable mobile device notifications from Twitter for the specified user.
|
TwitterProfile |
FriendOperations.enableNotifications(String screenName)
Enable mobile device notifications from Twitter for the specified user.
|
TwitterProfile |
DirectMessage.getRecipient() |
TwitterProfile |
DirectMessage.getSender() |
TwitterProfile |
Tweet.getUser() |
TwitterProfile |
UserOperations.getUserProfile()
Retrieves the authenticated user's Twitter profile details.
|
TwitterProfile |
UserOperations.getUserProfile(long userId)
Retrieves a specific user's Twitter profile details.
|
TwitterProfile |
UserOperations.getUserProfile(String screenName)
Retrieves a specific user's Twitter profile details.
|
TwitterProfile |
BlockOperations.unblock(long userId)
Unblocks a user.
|
TwitterProfile |
BlockOperations.unblock(String screenName)
Unblocks a user.
|
Modifier and Type | Method and Description |
---|---|
CursoredList<TwitterProfile> |
BlockOperations.getBlockedUsers()
Retrieves a list of users that the authenticating user has blocked.
|
CursoredList<TwitterProfile> |
BlockOperations.getBlockedUsersInCursor(long cursor)
Retrieves a list of users that the authenticating user has blocked.
|
CursoredList<TwitterProfile> |
FriendOperations.getFollowers()
Retrieves a list of up to 5000 users that the authenticated user is being followed by
Note that this method make multiple calls to Twitter's REST API (one call to get a list of the follower IDs and one call for every 100 followers).
|
CursoredList<TwitterProfile> |
FriendOperations.getFollowers(long userId)
Retrieves a list of up to 5000 users that the given user is being followed by
Note that this method make multiple calls to Twitter's REST API (one call to get a list of the follower IDs and one call for every 100 followers).
|
CursoredList<TwitterProfile> |
FriendOperations.getFollowers(String screenName)
Retrieves a list of up to 5000 users that the given user is being followed by
Note that this method make multiple calls to Twitter's REST API (one call to get a list of the follower IDs and one call for every 100 followers).
|
CursoredList<TwitterProfile> |
FriendOperations.getFollowersInCursor(long cursor)
Retrieves a list of up to 5000 users that the authenticated user is being followed by
Note that this method make multiple calls to Twitter's REST API (one call to get a list of the follower IDs and one call for every 100 followers).
|
CursoredList<TwitterProfile> |
FriendOperations.getFollowersInCursor(long userId,
long cursor)
Retrieves a list of up to 5000 users that the given user is being followed by
Note that this method make multiple calls to Twitter's REST API (one call to get a list of the follower IDs and one call for every 100 followers).
|
CursoredList<TwitterProfile> |
FriendOperations.getFollowersInCursor(String screenName,
long cursor)
Retrieves a list of up to 5000 users that the given user is being followed by
Note that this method make multiple calls to Twitter's REST API (one call to get a list of the follower IDs and one call for every 100 followers).
|
CursoredList<TwitterProfile> |
FriendOperations.getFriends()
Retrieves a list of up to 5000 users that the authenticated user follows.
|
CursoredList<TwitterProfile> |
FriendOperations.getFriends(long userId)
Retrieves a list of up to 5000 users that the given user follows.
|
CursoredList<TwitterProfile> |
FriendOperations.getFriends(String screenName)
Retrieves a list of up to 5000 users that the given user follows.
|
CursoredList<TwitterProfile> |
FriendOperations.getFriendsInCursor(long cursor)
Retrieves a list of up to 5000 users that the authenticated user follows.
|
CursoredList<TwitterProfile> |
FriendOperations.getFriendsInCursor(long userId,
long cursor)
Retrieves a list of up to 5000 users that the given user follows.
|
CursoredList<TwitterProfile> |
FriendOperations.getFriendsInCursor(String screenName,
long cursor)
Retrieves a list of up to 5000 users that the given user follows.
|
List<TwitterProfile> |
ListOperations.getListMembers(long listId)
Retrieves a list of Twitter profiles whose users are members of the list.
|
List<TwitterProfile> |
ListOperations.getListMembers(String screenName,
String listSlug)
Retrieves a list of Twitter profiles whose users are members of the list.
|
List<TwitterProfile> |
ListOperations.getListSubscribers(long listId)
Retrieves the subscribers to a list.
|
List<TwitterProfile> |
ListOperations.getListSubscribers(String screenName,
String listSlug)
Retrieves the subscribers to a list.
|
List<TwitterProfile> |
UserOperations.getSuggestions(String slug)
Retrieves a list of suggestions of users to follow for a given category.
|
List<TwitterProfile> |
UserOperations.getUsers(long... userIds)
Retrieves a list of Twitter profiles for the given list of user IDs.
|
List<TwitterProfile> |
UserOperations.getUsers(String... screenNames)
Retrieves a list of Twitter profiles for the given list of screen names.
|
List<TwitterProfile> |
UserOperations.searchForUsers(String query)
Searches for up to 20 users that match a given query.
|
List<TwitterProfile> |
UserOperations.searchForUsers(String query,
int page,
int pageSize)
Searches for users that match a given query.
|
Modifier and Type | Method and Description |
---|---|
void |
Tweet.setUser(TwitterProfile prof) |
Constructor and Description |
---|
DirectMessage(long id,
String text,
TwitterProfile sender,
TwitterProfile recipient,
Date createdAt) |
Copyright © 2017. All rights reserved.