junhoyeo / threads-api

Unofficial, Reverse-Engineered Node.js/TypeScript client for Meta's Threads. Web UI Included.
https://threads.junho.io
MIT License
1.58k stars 135 forks source link

Add publishing ability to the Threads API #43

Closed JamelHammoud closed 1 year ago

JamelHammoud commented 1 year ago

Use like the following:

import { ThreadsAPI } from 'threads-api';

const main = async () => {
  const threadsAPI = new ThreadsAPI({
    username: 'jamel.hammoud',
    password: 'password',
  });

  await threadsAPI.publish('Hello World');
};

main();
junhoyeo commented 1 year ago

Omg thanks!

junhoyeo commented 1 year ago

@JamelHammoud I'll publish the new version after bumping the README. Appreciate your work!

junhoyeo commented 1 year ago

@JamelHammoud Just published v1.1.0 🔥 🔥

JamelHammoud commented 1 year ago

Awesome!

petermazzocco commented 1 year ago

Excited to use this later! Thank you