Threads.Api
1.2.1-alpha
dotnet add package Threads.Api --version 1.2.1-alpha
NuGet\Install-Package Threads.Api -Version 1.2.1-alpha
<PackageReference Include="Threads.Api" Version="1.2.1-alpha" />
paket add Threads.Api --version 1.2.1-alpha
#r "nuget: Threads.Api, 1.2.1-alpha"
// 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">
</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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Contact
Jamie - @tidusjar - tidusjar@gmail.com
Project Link: https://github.com/tidusjar/Threads.Api
Product | Versions 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. |
-
.NETStandard 2.1
- Microsoft.AspNetCore.WebUtilities (>= 2.2.0)
- Portable.BouncyCastle (>= 1.9.0)
- System.Text.Json (>= 7.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.
Version | Downloads | Last updated |
---|---|---|
1.2.1-alpha | 165 | 7/13/2023 |
1.2.0-alpha | 110 | 7/12/2023 |
1.1.1-alpha | 109 | 7/11/2023 |
1.1.0-alpha | 120 | 7/11/2023 |
1.0.0-alpha | 108 | 7/10/2023 |