Twitter.OAuth 1.0.4

This package helps you to generate OAuth1.0a signature for Twitter API.

Install-Package Twitter.OAuth -Version 1.0.4
dotnet add package Twitter.OAuth --version 1.0.4
<PackageReference Include="Twitter.OAuth" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Twitter.OAuth --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Twitter OAuth

Helps you to generate OAuth1.0a authentication header value for Twitter API.

NuGet version

NuGet

dotnet add package Twitter.OAuth --version 1.0.4

Supports

.NET Standard 2.1

Usage

OAuthHeaderGenerator oAuthHeaderGenerator = new OAuthHeaderGenerator(_consumerKey, _consumerSecret, _accessToken, _accessTokenSecret);

string url = $"https://api.twitter.com/1.1/friendships/destroy.json?screen_name={inactiveUser.Name}";

string oAuth = oAuthHeaderGenerator.GenerateOAuthHeader("POST", url);

_httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("OAuth", oAuth);

Twitter OAuth

Helps you to generate OAuth1.0a authentication header value for Twitter API.

NuGet version

NuGet

dotnet add package Twitter.OAuth --version 1.0.4

Supports

.NET Standard 2.1

Usage

OAuthHeaderGenerator oAuthHeaderGenerator = new OAuthHeaderGenerator(_consumerKey, _consumerSecret, _accessToken, _accessTokenSecret);

string url = $"https://api.twitter.com/1.1/friendships/destroy.json?screen_name={inactiveUser.Name}";

string oAuth = oAuthHeaderGenerator.GenerateOAuthHeader("POST", url);

_httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("OAuth", oAuth);

  • .NETStandard 2.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.4 157 8/2/2020
1.0.3 180 7/24/2020