Show / Hide Table of Contents

Class TwitterScraper

IPlatformScraper for providing Twitter posts. The scraping engine is powered by Tweetinvi

Inheritance
System.Object
TwitterScraper
Implements
IPlatformScraper
Namespace: Scraper.Net.Twitter
Assembly: Scraper.Net.Twitter.dll
Syntax
public class TwitterScraper : object, IPlatformScraper

Constructors

| Improve this Doc View Source

TwitterScraper(TwitterConfig)

Declaration
public TwitterScraper(TwitterConfig config)
Parameters
Type Name Description
TwitterConfig config

Methods

| Improve this Doc View Source

GetAuthorAsync(String, CancellationToken)

Declaration
public Task<Author> GetAuthorAsync(string id, CancellationToken ct = null)
Parameters
Type Name Description
System.String id
CancellationToken ct
Returns
Type Description
Task<Author>
| Improve this Doc View Source

GetPostsAsync(String, CancellationToken)

Declaration
public IAsyncEnumerable<Post> GetPostsAsync(string id, CancellationToken ct = null)
Parameters
Type Name Description
System.String id
CancellationToken ct
Returns
Type Description
IAsyncEnumerable<Post>

Implements

IPlatformScraper
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX