Closed cedriking closed 11 months ago
Perhaps one solution would be to post a first thread, then retrieve the last thread posted and comment on it with the rest?
I tried that already. After the sleep of 10secs I had
await threadsAPI.getUserProfileThreads(userID)
But it always return an empty array []
even that I have many posts created.
Also tried the following in case the returned string from publish()
is a threadID and not a postID, but that returns undefined:
parentPostID = await threadsAPI.getPostIDfromThreadID(parentPostID)
So far the only thing that returns something that makes sense is publish()
but that doesn't work when trying to be used as the parentPostID
.
https://www.threads.net/t/CuqbBI8h19H
Looks like the webpage that getPostIDfromThreadID
(getPostIDfromThreadURL
) uses to fetch postID
is dead 🤔
Update: Think implementing https://github.com/junhoyeo/threads-py/pull/27 here too could be a fix.
Seems it's back @junhoyeo 🙌🏼 that link is working https://www.threads.net/t/CuqbBI8h19H -> https://www.threads.net/@_junhoyeo/post/CuqbBI8h19H
I'm not able to post (not even single ones) now though 😰
Thank you so much @junhoyeo for fixing this one. Waiting for the patch release 🙌🏼
@cedriking Sorry I was late, just deployed https://github.com/junhoyeo/threads-api/releases/tag/v1.4.4!
I'm also getting Unknown Server Error
when trying to post a reply to a post I just created (tested with v1.4.4).
Same here, seems the issue is still active:
data: { message: 'Unknown Server Error.', status: 'fail' }
Hi everyone, amazing work and progress on the threads-api. I was wondering how can we post multiple threads one under the other? I was thinking it would be as simple as getting the post ID of the last published thread and keep going that way, but as soon as the first thread is published, I get this error:
I even tried to pause for 10 secs and it's still not working 🤔
The code I was trying is simple:
Thanks for your help.