|
||||||||||
| 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 |
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(). |
| Uses of User in twitter4j.api |
|---|
| Methods in twitter4j.api that return User | |
|---|---|
User |
BlockMethods.createBlock(long userId)
Blocks the user specified in the ID parameter as the authenticating user. |
User |
BlockMethods.createBlock(String screenName)
Blocks the user specified in the ID parameter as the authenticating user. |
User |
FriendshipMethods.createFriendship(long 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(long 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(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(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(long userId)
Un-blocks the user specified in the ID parameter as the authenticating user. |
User |
BlockMethods.destroyBlock(String screen_name)
Un-blocks the user specified in the ID parameter as the authenticating user. |
User |
FriendshipMethods.destroyFriendship(long 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(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(long userId)
Disables notifications for updates from the specified user to the authenticating user. |
User |
NotificationMethods.disableNotification(String screenName)
Disables notifications for updates from the specified user to the authenticating user. |
User |
NotificationMethods.enableNotification(long userId)
Enables notifications for updates from the specified user to the authenticating user. |
User |
NotificationMethods.enableNotification(String screenName)
Enables notifications for updates from the specified user to the authenticating user. |
User |
SpamReportingMethods.reportSpam(long userId)
The user specified in the id is blocked by the authenticated user and reported as a spammer. |
User |
SpamReportingMethods.reportSpam(String screenName)
The user specified in the id is blocked by the authenticated user and reported as a spammer. |
User |
UserMethods.showUser(long userId)
Returns extended information of a given user, specified by ID or screen name as per the required id parameter. |
User |
UserMethods.showUser(String screenName)
Returns extended information of a given user, specified by ID or screen name as per the required id parameter. |
User |
ListMembersMethods.showUserListMembership(int listId,
long userId)
Check if a user is a member of the specified list. This method calls http://api.twitter.com/1/lists/members/show.json |
User |
ListSubscribersMethods.showUserListSubscription(int listId,
long userId)
Check if the specified user is a subscriber of the specified list. |
User |
AccountMethods.updateProfile(String name,
String url,
String location,
String description)
Sets values that users are able to set under the "Account" tab of their settings page. |
User |
AccountMethods.updateProfileBackgroundImage(File image,
boolean tile)
Updates the authenticating user's profile background image. |
User |
AccountMethods.updateProfileBackgroundImage(InputStream image,
boolean tile)
Updates the authenticating user's profile background image. |
User |
AccountMethods.updateProfileColors(String profileBackgroundColor,
String profileTextColor,
String profileLinkColor,
String profileSidebarFillColor,
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(File image)
Updates the authenticating user's profile image. |
User |
AccountMethods.updateProfileImage(InputStream 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. |
ResponseList<User> |
UserMethods.getMemberSuggestions(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)
Deprecated. use StatusMethods.getRetweetedBy(long, twitter4j.Paging) instead |
ResponseList<User> |
StatusMethods.getRetweetedBy(long statusId,
Paging paging)
Show user objects of up to 100 members who retweeted the status. |
PagableResponseList<User> |
ListMembersMethods.getUserListMembers(int listId,
long cursor)
Returns the members of the specified list. |
PagableResponseList<User> |
ListSubscribersMethods.getUserListSubscribers(int listId,
long cursor)
Returns the subscribers of the specified list. |
ResponseList<User> |
UserMethods.getUserSuggestions(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(long[] 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(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(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(String rawJSON)
Constructs a User object from rawJSON string. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||