|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use User | |
|---|---|
| twitter4j | |
| twitter4j.api | |
| twitter4j.json | |
| Uses of User in twitter4j |
|---|
| Methods in twitter4j that return User | |
|---|---|
User |
Twitter.checkUserListMembership(java.lang.String listOwnerScreenName,
int listId,
int userId)
Check if a user is a member of the specified list. This method calls http://api.twitter.com/1/[listOwner]/[listId]/members/id.json |
User |
Twitter.checkUserListSubscription(java.lang.String listOwnerScreenName,
int listId,
int userId)
Check if the specified user is a subscriber of the specified list. |
User |
Twitter.createBlock(int userId)
Blocks the user specified in the ID parameter as the authenticating user. |
User |
Twitter.createBlock(java.lang.String screenName)
Blocks the user specified in the ID parameter as the authenticating user. |
User |
Twitter.createFriendship(int userId)
Allows the authenticating users to follow the user specified in the ID parameter. Returns the befriended user in the requested format when successful. |
User |
Twitter.createFriendship(int userId,
boolean follow)
Allows the authenticating users to follow the user specified in the ID parameter. Returns the befriended user in the requested format when successful. |
User |
Twitter.createFriendship(java.lang.String screenName)
Allows the authenticating users to follow the user specified in the ID parameter. Returns the befriended user in the requested format when successful. |
User |
Twitter.createFriendship(java.lang.String screenName,
boolean follow)
Allows the authenticating users to follow the user specified in the ID parameter. Returns the befriended user in the requested format when successful. |
User |
Twitter.destroyBlock(int userId)
Un-blocks the user specified in the ID parameter as the authenticating user. |
User |
Twitter.destroyBlock(java.lang.String screen_name)
Un-blocks the user specified in the ID parameter as the authenticating user. |
User |
Twitter.destroyFriendship(int userId)
Allows the authenticating users to unfollow the user specified in the ID parameter. Returns the unfollowed user in the requested format when successful. |
User |
Twitter.destroyFriendship(java.lang.String screenName)
Allows the authenticating users to unfollow the user specified in the ID parameter. Returns the unfollowed user in the requested format when successful. |
User |
Twitter.disableNotification(int userId)
Disables notifications for updates from the specified user to the authenticating user. |
User |
Twitter.disableNotification(java.lang.String screenName)
Disables notifications for updates from the specified user to the authenticating user. |
User |
Twitter.enableNotification(int userId)
Enables notifications for updates from the specified user to the authenticating user. |
User |
Twitter.enableNotification(java.lang.String screenName)
Enables notifications for updates from the specified user to the authenticating user. |
User |
DirectMessage.getRecipient()
|
User |
DirectMessage.getSender()
|
User |
UserList.getUser()
Returns the user of the list |
User |
Status.getUser()
Return the user associated with the status. This can be null if the instance if from User.getStatus(). |
User[] |
Status.getUserMentions()
Deprecated. use Status.getUserMentionEntities() instead. |
User |
Twitter.reportSpam(int userId)
The user specified in the id is blocked by the authenticated user and reported as a spammer. |
User |
Twitter.reportSpam(java.lang.String screenName)
The user specified in the id is blocked by the authenticated user and reported as a spammer. |
User |
Twitter.showUser(int userId)
Returns extended information of a given user, specified by ID or screen name as per the required id parameter. |
User |
Twitter.showUser(java.lang.String screenName)
Returns extended information of a given user, specified by ID or screen name as per the required id parameter. |
User |
Twitter.updateProfile(java.lang.String name,
java.lang.String url,
java.lang.String location,
java.lang.String description)
Sets values that users are able to set under the "Account" tab of their settings page. |
User |
Twitter.updateProfile(java.lang.String name,
java.lang.String email,
java.lang.String url,
java.lang.String location,
java.lang.String description)
Sets values that users are able to set under the "Account" tab of their settings page. |
User |
Twitter.updateProfileBackgroundImage(java.io.File image,
boolean tile)
Updates the authenticating user's profile background image. |
User |
Twitter.updateProfileColors(java.lang.String profileBackgroundColor,
java.lang.String profileTextColor,
java.lang.String profileLinkColor,
java.lang.String profileSidebarFillColor,
java.lang.String profileSidebarBorderColor)
Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com. |
User |
Twitter.updateProfileImage(java.io.File image)
Updates the authenticating user's profile image. |
User |
Twitter.verifyCredentials()
Returns an HTTP 200 OK response code and a representation of the requesting user if authentication was successful; returns a 401 status code and an error message if not. |
| Methods in twitter4j that return types with arguments of type User | |
|---|---|
ResponseList<User> |
Twitter.getBlockingUsers()
Returns a list of user objects that the authenticating user is blocking. |
ResponseList<User> |
Twitter.getBlockingUsers(int page)
Returns a list of user objects that the authenticating user is blocking. |
PagableResponseList<User> |
Twitter.getFollowersStatuses()
Returns the authenticating user's followers, each with current status inline. |
PagableResponseList<User> |
Twitter.getFollowersStatuses(int userId)
Returns the specified user's followers, each with current status inline. |
PagableResponseList<User> |
Twitter.getFollowersStatuses(int userId,
long cursor)
Returns the specified user's followers, each with current status inline. |
PagableResponseList<User> |
Twitter.getFollowersStatuses(long cursor)
Returns the authenticating user's followers, each with current status inline. |
PagableResponseList<User> |
Twitter.getFollowersStatuses(java.lang.String screenName)
Returns the specified user's followers, each with current status inline. |
PagableResponseList<User> |
Twitter.getFollowersStatuses(java.lang.String screenName,
long cursor)
Returns the specified user's followers, each with current status inline. |
PagableResponseList<User> |
Twitter.getFriendsStatuses()
Returns a user's friends, each with current status inline. |
PagableResponseList<User> |
Twitter.getFriendsStatuses(int userId)
Returns a user's friends, each with current status inline. |
PagableResponseList<User> |
Twitter.getFriendsStatuses(int userId,
long cursor)
Returns a user's friends, each with current status inline. |
PagableResponseList<User> |
Twitter.getFriendsStatuses(long cursor)
Returns a user's friends, each with current status inline. |
PagableResponseList<User> |
Twitter.getFriendsStatuses(java.lang.String screenName)
Returns a user's friends, each with current status inline. |
PagableResponseList<User> |
Twitter.getFriendsStatuses(java.lang.String screenName,
long cursor)
Returns a user's friends, each with current status inline. |
ResponseList<User> |
Twitter.getMemberSuggestions(java.lang.String categorySlug)
Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user. |
ResponseList<User> |
Twitter.getRetweetedBy(long statusId)
Show user objects of up to 100 members who retweeted the status. |
ResponseList<User> |
Twitter.getRetweetedBy(long statusId,
Paging paging)
Show user objects of up to 100 members who retweeted the status. |
PagableResponseList<User> |
Twitter.getUserListMembers(java.lang.String listOwnerScreenName,
int listId,
long cursor)
Returns the members of the specified list. |
PagableResponseList<User> |
Twitter.getUserListSubscribers(java.lang.String listOwnerScreenName,
int listId,
long cursor)
Returns the subscribers of the specified list. |
ResponseList<User> |
Twitter.getUserSuggestions(java.lang.String categorySlug)
Access the users in a given category of the Twitter suggested user list. It is recommended that end clients cache this data for no more than one hour. |
ResponseList<User> |
Twitter.lookupUsers(int[] ids)
Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two. |
ResponseList<User> |
Twitter.lookupUsers(java.lang.String[] screenNames)
Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two. |
ResponseList<User> |
Twitter.searchUsers(java.lang.String query,
int page)
Run a search for users similar to the Find People button on Twitter.com; the same results returned by people search on Twitter.com will be returned by using this API. Usage note: It is only possible to retrieve the first 1000 matches from this API. |
| Methods in twitter4j with parameters of type User | |
|---|---|
void |
TwitterListener.checkedUserListMembership(User users)
|
void |
TwitterAdapter.checkedUserListMembership(User user)
|
void |
TwitterListener.checkedUserListSubscription(User user)
|
void |
TwitterAdapter.checkedUserListSubscription(User user)
|
void |
TwitterListener.createdBlock(User user)
|
void |
TwitterAdapter.createdBlock(User user)
|
void |
TwitterListener.createdFriendship(User user)
|
void |
TwitterAdapter.createdFriendship(User user)
|
void |
TwitterListener.destroyedBlock(User user)
|
void |
TwitterAdapter.destroyedBlock(User user)
|
void |
TwitterListener.destroyedFriendship(User user)
|
void |
TwitterAdapter.destroyedFriendship(User user)
|
void |
TwitterListener.disabledNotification(User user)
|
void |
TwitterAdapter.disabledNotification(User user)
|
void |
TwitterListener.enabledNotification(User user)
|
void |
TwitterAdapter.enabledNotification(User user)
|
void |
TwitterListener.gotUserDetail(User user)
|
void |
TwitterAdapter.gotUserDetail(User user)
|
void |
SiteStreamsListener.onBlock(int forUser,
User source,
User blockedUser)
|
void |
SiteStreamsAdapter.onBlock(int forUser,
User source,
User blockedUser)
|
void |
UserStreamListener.onBlock(User source,
User blockedUser)
|
void |
UserStreamAdapter.onBlock(User source,
User blockedUser)
|
void |
SiteStreamsListener.onFavorite(int forUser,
User source,
User target,
Status favoritedStatus)
|
void |
SiteStreamsAdapter.onFavorite(int forUser,
User source,
User target,
Status favoritedStatus)
|
void |
UserStreamListener.onFavorite(User source,
User target,
Status favoritedStatus)
|
void |
UserStreamAdapter.onFavorite(User source,
User target,
Status favoritedStatus)
|
void |
SiteStreamsListener.onFollow(int forUser,
User source,
User followedUser)
|
void |
SiteStreamsAdapter.onFollow(int forUser,
User source,
User followedUser)
|
void |
UserStreamListener.onFollow(User source,
User followedUser)
|
void |
UserStreamAdapter.onFollow(User source,
User followedUser)
|
void |
UserStreamListener.onRetweet(User source,
User target,
Status retweetedStatus)
|
void |
UserStreamAdapter.onRetweet(User source,
User target,
Status retweetedStatus)
|
void |
SiteStreamsListener.onUnblock(int forUser,
User source,
User unblockedUser)
|
void |
SiteStreamsAdapter.onUnblock(int forUser,
User source,
User unblockedUser)
|
void |
UserStreamListener.onUnblock(User source,
User unblockedUser)
|
void |
UserStreamAdapter.onUnblock(User source,
User unblockedUser)
|
void |
SiteStreamsListener.onUnfavorite(int forUser,
User source,
User target,
Status unfavoritedStatus)
|
void |
SiteStreamsAdapter.onUnfavorite(int forUser,
User source,
User target,
Status unfavoritedStatus)
|
void |
UserStreamListener.onUnfavorite(User source,
User target,
Status unfavoritedStatus)
|
void |
UserStreamAdapter.onUnfavorite(User source,
User target,
Status unfavoritedStatus)
|
void |
SiteStreamsListener.onUserListCreation(int forUser,
User listOwner,
UserList list)
|
void |
SiteStreamsAdapter.onUserListCreation(int forUser,
User listOwner,
UserList list)
|
void |
UserStreamListener.onUserListCreation(User listOwner,
UserList list)
|
void |
UserStreamAdapter.onUserListCreation(User listOwner,
UserList list)
|
void |
SiteStreamsListener.onUserListDeletion(int forUser,
User listOwner,
UserList list)
|
void |
SiteStreamsAdapter.onUserListDeletion(int forUser,
User listOwner,
UserList list)
|
void |
UserStreamListener.onUserListDeletion(User listOwner,
UserList list)
|
void |
UserStreamAdapter.onUserListDeletion(User listOwner,
UserList list)
|
void |
SiteStreamsListener.onUserListSubscription(int forUser,
User subscriber,
User listOwner,
UserList list)
|
void |
SiteStreamsAdapter.onUserListSubscription(int forUser,
User subscriber,
User listOwner,
UserList list)
|
void |
UserStreamListener.onUserListSubscription(User subscriber,
User listOwner,
UserList list)
|
void |
UserStreamAdapter.onUserListSubscription(User subscriber,
User listOwner,
UserList list)
|
void |
SiteStreamsListener.onUserListUpdate(int forUser,
User listOwner,
UserList list)
|
void |
SiteStreamsAdapter.onUserListUpdate(int forUser,
User listOwner,
UserList list)
|
void |
UserStreamListener.onUserListUpdate(User listOwner,
UserList list)
|
void |
UserStreamAdapter.onUserListUpdate(User listOwner,
UserList list)
|
void |
SiteStreamsListener.onUserProfileUpdate(int forUser,
User updatedUser)
|
void |
SiteStreamsAdapter.onUserProfileUpdate(int forUser,
User updatedUser)
|
void |
UserStreamListener.onUserProfileUpdate(User updatedUser)
|
void |
UserStreamAdapter.onUserProfileUpdate(User updatedUser)
|
void |
TwitterListener.reportedSpam(User reportedSpammer)
|
void |
TwitterAdapter.reportedSpam(User reportedSpammer)
|
void |
TwitterListener.updatedProfile(User user)
|
void |
TwitterAdapter.updatedProfile(User user)
|
void |
TwitterListener.updatedProfileBackgroundImage(User user)
|
void |
TwitterAdapter.updatedProfileBackgroundImage(User user)
|
void |
TwitterListener.updatedProfileColors(User user)
|
void |
TwitterAdapter.updatedProfileColors(User user)
|
void |
TwitterListener.updatedProfileImage(User user)
|
void |
TwitterAdapter.updatedProfileImage(User user)
|
void |
TwitterListener.verifiedCredentials(User user)
|
void |
TwitterAdapter.verifiedCredentials(User user)
|
| Uses of User in twitter4j.api |
|---|
| Methods in twitter4j.api that return User | |
|---|---|
User |
ListMembersMethods.checkUserListMembership(java.lang.String listOwnerScreenName,
int listId,
int userId)
Check if a user is a member of the specified list. This method calls http://api.twitter.com/1/[listOwner]/[listId]/members/id.json |
User |
ListSubscribersMethods.checkUserListSubscription(java.lang.String listOwnerScreenName,
int listId,
int userId)
Check if the specified user is a subscriber of the specified list. |
User |
BlockMethods.createBlock(int userId)
Blocks the user specified in the ID parameter as the authenticating user. |
User |
BlockMethods.createBlock(java.lang.String screenName)
Blocks the user specified in the ID parameter as the authenticating user. |
User |
FriendshipMethods.createFriendship(int userId)
Allows the authenticating users to follow the user specified in the ID parameter. Returns the befriended user in the requested format when successful. |
User |
FriendshipMethods.createFriendship(int userId,
boolean follow)
Allows the authenticating users to follow the user specified in the ID parameter. Returns the befriended user in the requested format when successful. |
User |
FriendshipMethods.createFriendship(java.lang.String screenName)
Allows the authenticating users to follow the user specified in the ID parameter. Returns the befriended user in the requested format when successful. |
User |
FriendshipMethods.createFriendship(java.lang.String screenName,
boolean follow)
Allows the authenticating users to follow the user specified in the ID parameter. Returns the befriended user in the requested format when successful. |
User |
BlockMethods.destroyBlock(int userId)
Un-blocks the user specified in the ID parameter as the authenticating user. |
User |
BlockMethods.destroyBlock(java.lang.String screen_name)
Un-blocks the user specified in the ID parameter as the authenticating user. |
User |
FriendshipMethods.destroyFriendship(int userId)
Allows the authenticating users to unfollow the user specified in the ID parameter. Returns the unfollowed user in the requested format when successful. |
User |
FriendshipMethods.destroyFriendship(java.lang.String screenName)
Allows the authenticating users to unfollow the user specified in the ID parameter. Returns the unfollowed user in the requested format when successful. |
User |
NotificationMethods.disableNotification(int userId)
Disables notifications for updates from the specified user to the authenticating user. |
User |
NotificationMethods.disableNotification(java.lang.String screenName)
Disables notifications for updates from the specified user to the authenticating user. |
User |
NotificationMethods.enableNotification(int userId)
Enables notifications for updates from the specified user to the authenticating user. |
User |
NotificationMethods.enableNotification(java.lang.String screenName)
Enables notifications for updates from the specified user to the authenticating user. |
User |
SpamReportingMethods.reportSpam(int userId)
The user specified in the id is blocked by the authenticated user and reported as a spammer. |
User |
SpamReportingMethods.reportSpam(java.lang.String screenName)
The user specified in the id is blocked by the authenticated user and reported as a spammer. |
User |
UserMethods.showUser(int userId)
Returns extended information of a given user, specified by ID or screen name as per the required id parameter. |
User |
UserMethods.showUser(java.lang.String screenName)
Returns extended information of a given user, specified by ID or screen name as per the required id parameter. |
User |
AccountMethods.updateProfile(java.lang.String name,
java.lang.String url,
java.lang.String location,
java.lang.String description)
Sets values that users are able to set under the "Account" tab of their settings page. |
User |
AccountMethods.updateProfile(java.lang.String name,
java.lang.String email,
java.lang.String url,
java.lang.String location,
java.lang.String description)
Deprecated. use AccountMethods.updateProfile(String, String, String, String) instead |
User |
AccountMethods.updateProfileBackgroundImage(java.io.File image,
boolean tile)
Updates the authenticating user's profile background image. |
User |
AccountMethods.updateProfileColors(java.lang.String profileBackgroundColor,
java.lang.String profileTextColor,
java.lang.String profileLinkColor,
java.lang.String profileSidebarFillColor,
java.lang.String profileSidebarBorderColor)
Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com. |
User |
AccountMethods.updateProfileImage(java.io.File image)
Updates the authenticating user's profile image. |
User |
AccountMethods.verifyCredentials()
Returns an HTTP 200 OK response code and a representation of the requesting user if authentication was successful; returns a 401 status code and an error message if not. |
| Methods in twitter4j.api that return types with arguments of type User | |
|---|---|
ResponseList<User> |
BlockMethods.getBlockingUsers()
Returns a list of user objects that the authenticating user is blocking. |
ResponseList<User> |
BlockMethods.getBlockingUsers(int page)
Returns a list of user objects that the authenticating user is blocking. |
PagableResponseList<User> |
UserMethods.getFollowersStatuses()
Returns the authenticating user's followers, each with current status inline. |
PagableResponseList<User> |
UserMethods.getFollowersStatuses(int userId)
Returns the specified user's followers, each with current status inline. |
PagableResponseList<User> |
UserMethods.getFollowersStatuses(int userId,
long cursor)
Returns the specified user's followers, each with current status inline. |
PagableResponseList<User> |
UserMethods.getFollowersStatuses(long cursor)
Returns the authenticating user's followers, each with current status inline. |
PagableResponseList<User> |
UserMethods.getFollowersStatuses(java.lang.String screenName)
Returns the specified user's followers, each with current status inline. |
PagableResponseList<User> |
UserMethods.getFollowersStatuses(java.lang.String screenName,
long cursor)
Returns the specified user's followers, each with current status inline. |
PagableResponseList<User> |
UserMethods.getFriendsStatuses()
Returns a user's friends, each with current status inline. |
PagableResponseList<User> |
UserMethods.getFriendsStatuses(int userId)
Returns a user's friends, each with current status inline. |
PagableResponseList<User> |
UserMethods.getFriendsStatuses(int userId,
long cursor)
Returns a user's friends, each with current status inline. |
PagableResponseList<User> |
UserMethods.getFriendsStatuses(long cursor)
Returns a user's friends, each with current status inline. |
PagableResponseList<User> |
UserMethods.getFriendsStatuses(java.lang.String screenName)
Returns a user's friends, each with current status inline. |
PagableResponseList<User> |
UserMethods.getFriendsStatuses(java.lang.String screenName,
long cursor)
Returns a user's friends, each with current status inline. |
ResponseList<User> |
UserMethods.getMemberSuggestions(java.lang.String categorySlug)
Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user. |
ResponseList<User> |
StatusMethods.getRetweetedBy(long statusId)
Show user objects of up to 100 members who retweeted the status. |
ResponseList<User> |
StatusMethods.getRetweetedBy(long statusId,
Paging paging)
Deprecated. use StatusMethods.getRetweetedBy(long) instead. |
PagableResponseList<User> |
ListMembersMethods.getUserListMembers(java.lang.String listOwnerScreenName,
int listId,
long cursor)
Returns the members of the specified list. |
PagableResponseList<User> |
ListSubscribersMethods.getUserListSubscribers(java.lang.String listOwnerScreenName,
int listId,
long cursor)
Returns the subscribers of the specified list. |
ResponseList<User> |
UserMethods.getUserSuggestions(java.lang.String categorySlug)
Access the users in a given category of the Twitter suggested user list. It is recommended that end clients cache this data for no more than one hour. |
ResponseList<User> |
UserMethods.lookupUsers(int[] ids)
Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two. |
ResponseList<User> |
UserMethods.lookupUsers(java.lang.String[] screenNames)
Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two. |
ResponseList<User> |
UserMethods.searchUsers(java.lang.String query,
int page)
Run a search for users similar to the Find People button on Twitter.com; the same results returned by people search on Twitter.com will be returned by using this API. Usage note: It is only possible to retrieve the first 1000 matches from this API. |
| Uses of User in twitter4j.json |
|---|
| Methods in twitter4j.json that return User | |
|---|---|
static User |
DataObjectFactory.createUser(java.lang.String rawJSON)
Constructs a User object from rawJSON string. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||