(Unofficial) Reverse-engineered Python client for Meta's Threads.
To install:
git clone https://github.com/clarkmiyamoto/threads-python
cd threads-python
pip install .
To make updates:
cd .../threads-python
git pull
pip install . --upgrade
-
Clientclass: Allows log into specificUser- Logged-in Browsing (Read private data)
- Wrapper on
Userclass- Init
Userfrom user_id - Init
Userfrom user_url
- Init
- Wrapper on
Postclass- Init
Postfrom post_id - Init
Postfrom user_url
- Init
- Interface to see explore page/trends (whenever this is eventually added)
- Interactions
- Uploads: a text/photo/multi-photo/audio post
- Interactions w/
Post: like / comment / repost anotherPost - Interactions w/
User: (un)follow / remove follower / block
-
Userclass: view attributes, posts, and interactions of a user- Basic attributes (number of followers, is_private, etc.)
- List usernames from followers/following
- Ability to turn all those usernames into
Userobjects
- Ability to turn all those usernames into
- List all posts/replies from select user
-
limit=parameter, select num of a recent post -
daterange=parameter, select all posts between dates
-
-
Postclass: view attributes, reposts, replies associated w/ post- Basic attributes (num of hearts/comments/views(?)/reposts/etc.)
- List reposts/replies from post