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 134 forks source link

User Feed Queries for Logged in Users - Pagination! #150

Closed billy-the-ape closed 1 year ago

billy-the-ape commented 1 year ago

This PR implements the calls made within the app to populate a user's threads and replies.

The big thing here is that it supports PAGINATION using instagram's max_id query param (renamed to cursor)

Please rip this PR apart if there is a better way you'd prefer for this type of implementation! ❤️

billy-the-ape commented 1 year ago

If you tell me ur Threads username will be happy to shoutout 😉

@junhoyeo hey sounds good! It's here: https://www.threads.net/@wack.overflow

Cheers 🍻

billy-the-ape commented 1 year ago

Although @junhoyeo looks like I just got the ban hammer LOL

I think paginating is not making them very happy over at threads HQ

Submitted an appeal, maybe I'll get my account back 🤞

junhoyeo commented 1 year ago

Fixed some small things in #153

junhoyeo commented 1 year ago

Although @junhoyeo looks like I just got the ban hammer LOL

Omg I'm so sorry to hear that 😭 Hope you get your account recovered soon...