junhoyeo / threads-api

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

Can't run the web client #21

Closed torrober closed 1 year ago

torrober commented 1 year ago

Hi, first of all, amazing job at creating an API at such a fast rate, it's not even day one of the platform.

However, I want to use the web client, but nothing shows up: image And when i try accessing any username: image

I'm running the script with npm run dev, am i doing something wrong? image

junhoyeo commented 1 year ago

Hi there, @torrober! I hadn't added anything to the root page(/) yet, but the username page should work! Did you run yarn workspace threads-api build before running yarn workspace threads-web-ui dev?

Mineru98 commented 1 year ago

Hi there, @torrober! I hadn't added anything to the root page(/) yet, but the username page should work! Did you run yarn workspace threads-api build before running yarn workspace threads-web-ui dev?

@junhoyeo I think we need more description in README.md

torrober commented 1 year ago

@Mineru98 I agree.

torrober commented 1 year ago

Still couldn't run the web client, i'm having errors with the threads library or the next framework.

How am I supposed to run the client from scratch? i have tried anything but nothing worked

junhoyeo commented 1 year ago

@torrober I'll check on this issue.

junhoyeo commented 1 year ago

@torrober yo i think this was resolved a while ago. Can you try running the web client again with the latest commit?

yarn # Install dependencies

yarn workspace threads-api build # Build `threads-api`
yarn workspace threads-web-ui dev # Run dev server

# Visit http://localhost:3000/_junhoyeo to check 

I'll add proper documentation & improve the client before closing this issue!

torrober commented 1 year ago

image I Got the website working, but there's a problem related with requesting threads.

torrober commented 1 year ago

image Page still showing 404 error

torrober commented 1 year ago

image Too many redirs..

junhoyeo commented 1 year ago

Strange, will check and update.

torrober commented 1 year ago

Just updated to the newest release, and everything works fine! image However, i had to run with git bash terminal, idk if its something related to powershell or non unix/linux systems, but please take consideration of that.

The redir error was fixed thanks to the proxy.

threaderzero commented 1 year ago

Seeing this on your page. zuck's page works fine tho

image
Mineru98 commented 1 year ago

@threaderzero Check this commit

iamdeepak92 commented 1 year ago

This is the first Threads scraper code. This requires no login . I think this will help someone.

https://github.com/iamdeepak92/threads-scraper

junhoyeo commented 1 year ago

Believe this is fixed! 🥳