TwitterConnect 1.0.1
See the version list below for details.
dotnet tool install --global TwitterConnect --version 1.0.1
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local TwitterConnect --version 1.0.1
#tool dotnet:?package=TwitterConnect&version=1.0.1
nuke :add-package TwitterConnect --version 1.0.1
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.
MyTwitterConnect connect = new();
Credentials credentials = new() { ConsumerKey = "Consumer_Key", ConsumerSecret = "Consumer_Secret", AccessToken = "Access_Token", AccessTokenSecret = "Access_Token_Secret" };
await connect.AuthenticateUserAndSendTweet(credentials, "This is my first tweet! ");
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.
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 was computed. 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. |
This package has no dependencies.