Skip to content

Commit

Permalink
Added note about maximum 200 getFriends() at a time (#301)
Browse files Browse the repository at this point in the history
* Added note about maximum 200 getFriends() at a time

* Adding count details to getFriends() docblock
  • Loading branch information
nexxai authored Apr 6, 2020
1 parent 7e5fa84 commit c40f61c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ format : object|json|array (default:object)
* `postUnfollow()` - Allows the authenticating user to unfollow the user specified in the ID parameter.
* `postFollowUpdate()` - Allows one to enable or disable retweets and device notifications from the specified user.
* `getFriendships()` - Returns detailed information about the relationship between two arbitrary users.
* `getFriends()` - Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their “friends”).
* `getFriends()` - Returns a cursored collection of up to 200 user objects for every user the specified user is following (otherwise known as their “friends”).
* `getFollowers()` - Returns a cursored collection of user objects for users following the specified user.
* `getFriendshipsLookup()` - Returns the relationships of the authenticating user to the comma-separated list of up to 100 screen_names or user_ids provided. Values for connections can be: following, following_requested, followed_by, none, blocking, muting.

Expand Down
1 change: 1 addition & 0 deletions src/Thujohn/Twitter/Traits/FriendshipTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ public function getFriendships($parameters = [])
* - cursor
* - skip_status (0|1)
* - include_user_entities (0|1)
* - count (1-200; default: 20)
*/
public function getFriends($parameters = [])
{
Expand Down

0 comments on commit c40f61c

Please sign in to comment.