Twitter.OAuth 1.0.4

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.
#r "nuget: Twitter.OAuth, 1.0.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Twitter.OAuth as a Cake Addin
#addin nuget:?package=Twitter.OAuth&version=1.0.4

// Install Twitter.OAuth as a Cake Tool
#tool nuget:?package=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);

  • .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 Downloads Last updated
1.0.4 1,423 8/2/2020
1.0.3 300 7/24/2020