Allows the authenticating users to follow the user specified in the ID parameter.
Allows the authenticating users to follow the user specified in the ID parameter.
Returns the befriended user in the requested format when successful. Returns a string describing the failure condition when unsuccessful. If you are already friends with the user an HTTP 403 will be returned.
This method calls twitter4j.Twitter.createFriendship.
createFriendship calls http://api.twitter.com/1.1/friendships/create/[id].json
Note1: You must set parameter screenName or userId at least.
Note2: Parameter userId is taken priority over screenName.
(required) the user specific information(screen name or ID) to be befriended.
(optional) Enable notifications for the target user in addition to becoming friends.
the befriended user
Twitter4S 1.0.0
when specificUser is set null.
TwitterExceptionwhen Twitter service or network is unavailable
Allows the authenticating users to unfollow the user specified in the ID parameter.
Allows the authenticating users to unfollow the user specified in the ID parameter.
Returns the unfollowed user in the requested format when successful. Returns a string describing the failure condition when unsuccessful.
This method calls twitter4j.Twitter.destroyFriendship.
destroyFriendship calls http://api.twitter.com/1.1/friendships/destroy/[id].json
Note1: You must set parameter screenName or userId at least.
Note2: Parameter userId is taken priority over screenName.
the user specific information (screen name or ID) for whom to request a list of friends
User
Twitter4S 1.0.0
when specificUser is set null.
TwitterExceptionwhen Twitter service or network is unavailable
Returns an array of numeric IDs for every user the specified user is followed by.
Returns an array of numeric IDs for every user the specified user is followed by.
This method calls twitter4j.Twitter.getFollowersIDs.
getFollowersIDs calls http://api.twitter.com/1.1/followers/ids.json
Note: Parameter userId is taken priority over screenName.
(required) Causes the list of connections to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filterd out after connections are queried.
To begin paging provide a value of -1 as the cursor. The response from the API will include a previous_cursor and next_cursor to allow paging back and forth.
(optional) Specifies the user (screen name or ID) for whom to return the followers list.
The ID or screen_name of the user to retrieve the friends ID list for.
Twitter4S 1.0.0
when Twitter service or network is unavailable
Returns a cursored collection of user objects for users following the specified user.
Returns a cursored collection of user objects for users following the specified user.
At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues. Results are given in groups of 20 users and multiple "pages" of results can be navigated through using the next_cursor value in subsequent requests. See Using cursors to navigate collections for more information.
This method calls http://api.twitter.com/1.1/friends/list.json
This method calls twitter4j.Twitter.getFollowersList
The ID or screen name of the user for whom to return results for.
Causes the results to be broken into pages of no more than 20 records at a time.
list of followers
Twitter4S 2.0.0
when Twitter service or network is unavailable
Returns an array of numeric IDs for every user the authenticating user is following.
Returns an array of numeric IDs for every user the authenticating user is following.
This method calls twitter4j.Twitter.getFriendsIDs.
getFriendsIDs calls http://api.twitter.com/1.1/friends/ids.json
Note: Parameter userId is taken priority over screenName.
(required) Causes the list of connections to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filterd out after connections are queried.
To begin paging provide a value of -1 as the cursor. The response from the API will include a previous_cursor and next_cursor to allow paging back and forth.
(optional) Specifies the user (screen name or ID) for whom to return the friends list.
an array of numeric IDs for every user the authenticating user is following
Twitter4S 1.0.0
when Twitter service or network is unavailable
Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").
Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").
At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues. Results are given in groups of 20 users and multiple "pages" of results can be navigated through using the next_cursor value in subsequent requests. See Using cursors to navigate collections for more information.
This method calls http://api.twitter.com/1.1/friends/list.json
This method calls twitter4j.Twitter.getFriendsList
The ID or screen name of the user for whom to return results for.
Causes the results to be broken into pages of no more than 20 records at a time.
list of friends
Twitter4S 2.0.0
when Twitter service or network is unavailable
Returns an array of numeric IDs for every user who has a pending request to follow the authenticating user.
Returns an array of numeric IDs for every user who has a pending request to follow the authenticating user.
This method calls twitter4j.Twitter.getIncomingFriendships.
getIncomingFriendships calls http://api.twitter.com/1.1/friendships/incoming.json
Breaks the results into pages. A single page contains 5000 identifiers. Provide a value of -1 to begin paging.
an array of numeric IDs for every user who has a pending request to follow the authenticating user.
Twitter4S 1.0.0
when Twitter service or network is unavailable
Returns an array of numeric IDs for every protected user for whom the authenticating user has a pending follow request.
Returns an array of numeric IDs for every protected user for whom the authenticating user has a pending follow request.
This method calls twitter4j.Twitter.getOutgoingFriendships.
This method calls http://api.twitter.com/1.1/friendships/outgoing.json
Breaks the results into pages. A single page contains 5000 identifiers. Provide a value of -1 to begin paging.
an array of numeric IDs for every protected user for whom the authenticating user has a pending follow request.
Twitter4S 1.0.0
when Twitter service or network is unavailable
Returns the relationship of the authenticating user to the specified users.
Returns the relationship of the authenticating user to the specified users.
This method has not been finalized and the interface is subject to change in incompatible ways.
This method calls twitter4j.Twitter.lookupFriendships.
lookupFriendships calls http://api.twitter.com/1.1/friendships/lookup.json
Note1: You must set screenNames or ids at least.
Note2: Parameter ids is taken priority over screenNames.
(required) array of user specific informations(screen names or ids) to lookup
list of Relationships
Twitter4S 1.0.0
when Twitter service or network is unavailable
#newtwitter and the API - Twitter API Announcements | Google Group
Returns detailed information about the relationship between two users.
Returns detailed information about the relationship between two users.
This method calls twitter4j.Twitter.showFriendship
showFriendship calls http://api.twitter.com/1.1/friendships/show.json
Note1: You must set source and target ScreenName or source and target Id at least combination
Note2: Id is taken priority over ScreenName.
(required) the source user specific information(screen name or ID)
(required) the target user specific information(screen name or ID)
Relationship
Twitter4S 1.0.0
when same information combination on source and target can not create.
TwitterExceptionwhen Twitter service or network is unavailable
Allows you to enable or disable retweets and device notifications from the specified user.
Allows you to enable or disable retweets and device notifications from the specified user.
This method has not been finalized and the interface is subject to change in incompatible ways.
This method calls twitter4j.Twitter.lookupFriendships.
lookupFriendships calls http://api.twitter.com/1.1/friendships/update.json
Note1: You must set screenName or id at least.
Note2: Parameter id is taken priority over screenName.
(required) user specific information(screen name or ID) to update
(required) set true to enable device notification
(required) set true to enable retweets
Relationship
Twitter4S 1.0.0
when specificUser is set null.
TwitterExceptionwhen Twitter service or network is unavailable
#newtwitter and the API - Twitter API Announcements | Google Group