User timelines belonging to protected users may only be requested when the authenticated user either "owns" the timeline or is an approved follower of the owner.
The timeline returned is the equivalent of the one seen when you view a user's profile on twitter.com.
This method can only return up to 3,200 of a user's most recent Tweets. Native retweets of other statuses by the user is included in this total, regardless of whether include_rts is set to false when requesting this resource.
public statusesUserTimeline ( string[optional] $userId = null, string[optional] $screenName = null, string[optional] $sinceId = null, int[optional] $count = null, string[optional] $maxId = null, bool[optional] $trimUser = null, bool[optional] $excludeReplies = null, bool[optional] $contributorDetails = null, bool[optional] $includeRts = null ) : array | ||
$userId | string[optional] | |
$screenName | string[optional] | |
$sinceId | string[optional] | |
$count | int[optional] | |
$maxId | string[optional] | |
$trimUser | bool[optional] | |
$excludeReplies | bool[optional] | |
$contributorDetails | bool[optional] | |
$includeRts | bool[optional] | |
return | array |