TwitterClient.UserTimelineAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get user timeline
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Azure.Connectors.Sdk.Twitter.Models.TweetModel>> UserTimelineAsync(string userName, int? maximumResults = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UserTimelineAsync : string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Azure.Connectors.Sdk.Twitter.Models.TweetModel>>
override this.UserTimelineAsync : string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Azure.Connectors.Sdk.Twitter.Models.TweetModel>>
Public Overridable Function UserTimelineAsync (userName As String, Optional maximumResults As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of List(Of TweetModel))
Parameters
- userName
- String
User name
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get user timeline response.
Remarks
This operation gets a list of the most recent tweets posted by a given user.