Skip to content

filoxen/threads-luau

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

threads-luau

A Roblox server-side client for the Threads service. Handles reuploading clothing assets through your Threads instance.

Installation

Add to your wally.toml dependencies:

[server-dependencies]
ThreadsClient = "secret-rare/threads-luau@0.3.0"

Then run:

wally install

Setup

  1. Host your own Threads instance.

  2. Add your API key to the Secrets Store in the Creator Dashboard with the name THREADS_API_KEY (or a custom name).

Usage

local ThreadsClient = require(path.to.ThreadsClient)

ThreadsClient.configure({
    baseUrl = "https://your-threads-instance.com",
    apiKeySecretName = "THREADS_API_KEY", -- optional, this is the default
})

local newAssetId = ThreadsClient.create(assetId)

if newAssetId ~= -1 then
    print("Reuploaded to:", newAssetId)
end

About

A Roblox server-side client for the Threads service. Handles reuploading clothing assets through your Threads instance.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages