TwitterConnect 1.0.4
dotnet add package TwitterConnect --version 1.0.4
NuGet\Install-Package TwitterConnect -Version 1.0.4
<PackageReference Include="TwitterConnect" Version="1.0.4" />
paket add TwitterConnect --version 1.0.4
#r "nuget: TwitterConnect, 1.0.4"
// Install TwitterConnect as a Cake Addin
#addin nuget:?package=TwitterConnect&version=1.0.4
// Install TwitterConnect as a Cake Tool
#tool nuget:?package=TwitterConnect&version=1.0.4
Twitter Connect is a simple class library that authenticates the credentials and tweets the message to clients(customers) twitter handle.
The Library has a simple async function AuthenticateUserAndSendTweet(Credentials credentials, string tweetmessage) that accepts the credentials and message that you wish to tweet. It has a class named Credentials that has four properties ConsumerKey,ConsumerSecret,AccessToken,AccessTokenSecret. It is a simple light weight library that performs just what it explains. It authenticates the credentials and sends tweet. It returns HttpResponseMessage with the status code.Twitter Connect is a simple class library that authenticates the credentials and tweets the message to clients(customers) twitter handle. It authenticates twitter v2 API and supports .net 6 and 7.
Steps to implement:
MyTwitterConnect connect = new();
Credentials creds = new()
{
ConsumerKey = "consumer_key",
ConsumerSecret = "consumer_secret",
AccessToken = "access_token",
AccessTokenSecret = "access_token_secret"
};
await connect.AuthenticateUserAndSendTweet(creds, "Thank you" );
The Library has a simple async function AuthenticateUserAndSendTweet(Credentials credentials, string tweetmessage) that accepts the credentials and message that you wish to tweet. It has a class named Credentials that has four properties ConsumerKey,ConsumerSecret,AccessToken,AccessTokenSecret. It is a simple light weight library that performs just what it explains. It authenticates the credentials and sends tweet. It retuns HttpResponseMessage with the status code as response.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Newtonsoft.Json (>= 13.0.3)
-
net7.0
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.