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

ChatGPT integration #95

Open Sgroove opened 1 year ago

Sgroove commented 1 year ago

How difficult would it be to integrate ChatGPT to: A) read threads and like/unlike/comment based on whitelisted topics of interest extracted from the thread? B) post new threads automatically given ChatGPT output

jtams commented 12 months ago

It shouldn't be too difficult, but that mainly has to do with OpenAI's API. For the whitelisting of topics you could see OpenAI's Embeddings. That should be able to match a thread post to a topic.

Sgroove commented 12 months ago

That makes sense @jtams. I'd have to play with it and see how it can be used programmatically to automate a few things ;)

junhoyeo commented 12 months ago

@Mineru98 is doing that in https://github.com/junhoyeo/threads-py 💪