threads-api icon indicating copy to clipboard operation
threads-api copied to clipboard

Can't run the web client

Open torrober opened this issue 2 years ago • 14 comments

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

torrober avatar Jul 07 '23 02:07 torrober

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 avatar Jul 07 '23 06:07 junhoyeo

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

Mineru98 avatar Jul 07 '23 06:07 Mineru98

@Mineru98 I agree.

torrober avatar Jul 07 '23 06:07 torrober

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

torrober avatar Jul 07 '23 07:07 torrober

@torrober I'll check on this issue.

junhoyeo avatar Jul 07 '23 12:07 junhoyeo

@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!

junhoyeo avatar Jul 07 '23 16:07 junhoyeo

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

torrober avatar Jul 07 '23 17:07 torrober

image Page still showing 404 error

torrober avatar Jul 07 '23 17:07 torrober

image Too many redirs..

torrober avatar Jul 07 '23 17:07 torrober

Strange, will check and update.

junhoyeo avatar Jul 07 '23 17:07 junhoyeo

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.

torrober avatar Jul 07 '23 22:07 torrober

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

image

threaderzero avatar Jul 08 '23 23:07 threaderzero

@threaderzero Check this commit

Mineru98 avatar Jul 08 '23 23:07 Mineru98

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

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

iamdeepak92 avatar Jul 09 '23 06:07 iamdeepak92

Believe this is fixed! 🥳

junhoyeo avatar Jul 14 '23 03:07 junhoyeo