junhoyeo / threads-py

Unofficial, Reverse-Engineered Python client for Meta's Threads.
https://github.com/junhoyeo/threads-api
MIT License
65 stars 14 forks source link

Retrieve post_id from post_url #7

Closed RedcodesDev closed 1 year ago

RedcodesDev commented 1 year ago

On the README.md it states that there is support for retrieving the post_id from the post_url, but I can't find any documentation or method for it in this repo.

Mineru98 commented 1 year ago

On the README.md it states that there is support for retrieving the post_id from the post_url, but I can't find any documentation or method for it in this repo.

The PostID for that thread is 3140957200974444958. We are looking up the thread data from that.

It would be handy to have the ability to parse the PostID from the URL as you say, so I'll close this issue when we add that feature.

Mineru98 commented 1 year ago

@RedcodesDev We've finished patching this issue.