Threads.Api 1.2.1-alpha

This is a prerelease version of Threads.Api.
dotnet add package Threads.Api --version 1.2.1-alpha
NuGet\Install-Package Threads.Api -Version 1.2.1-alpha
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Threads.Api" Version="1.2.1-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Threads.Api --version 1.2.1-alpha
#r "nuget: Threads.Api, 1.2.1-alpha"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Threads.Api as a Cake Addin
#addin nuget:?package=Threads.Api&version=1.2.1-alpha&prerelease

// Install Threads.Api as a Cake Tool
#tool nuget:?package=Threads.Api&version=1.2.1-alpha&prerelease

<a name="readme-top"></a>

<div align="center">

Contributors Forks Stargazers Issues Nuget

</div>

<br /> <div align="center">

<h3 align="center">Threads.Api</h3>

<p align="center"> An unoffical .Net wrapper for the meta Threads API <br />

<br />
<br />

<a href="https://github.com/tidusjar/Threads.Api/issues">Report Bug</a>
·
<a href="https://github.com/tidusjar/Threads.Api/issues">Request Feature</a>

</p> </div>

Usage

<img src="assets/example.png">

<br>

Post

IThreadsApi api = new ThreadsApi(new HttpClient());
var authToken = await api.LoginAsync("tidusjar", "password");
await api.PostAsync("tidusjar", "Hello!", authToken);

Follow & UnFollow

IThreadsApi api = new ThreadsApi(new HttpClient());

var authToken = await api.LoginAsync("tidusjar", "password");

var userNameToFollow = "zuck";
var userToFollow = await api.GetUserIdFromUserNameAsync(userNameToFollow);
await api.FollowAsync(userToFollow.UserId, userToFollow.Token, authToken);
await api.UnFollowAsync(userToFollow.UserId, userToFollow.Token, authToken);

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Jamie - @tidusjar - tidusjar@gmail.com

Project Link: https://github.com/tidusjar/Threads.Api

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2.1-alpha 129 7/13/2023
1.2.0-alpha 91 7/12/2023
1.1.1-alpha 90 7/11/2023
1.1.0-alpha 101 7/11/2023
1.0.0-alpha 94 7/10/2023