When you use from/to attributes in the /forum/{threadId}/posts endpoint, it "loses" the thread id in the url of the metadata links (also, i'm not sure if it's intended, but the sort changes between original request and prev link)
https://api.torn.com/v2/forum/16454722/posts?sort=ASC&from=1754006400&to=1756684800&key={key}
"_metadata": {
"links": {
"prev": "https://api.torn.com/v2/forum/posts?&limit=20&sort=desc&to=1754139810",
"next": "https://api.torn.com/v2/forum/posts?&limit=20&sort=asc&from=1755544491"}}
---
Just for comparison, when you don't use from/to, it looks ok (the sort attribute gets lost though)
https://api.torn.com/v2/forum/16454722/posts?sort=ASC&key={key}
"_metadata": {"links": {"prev": null,"next": "https://api.torn.com/v2/forum/16454722/posts?&limit=20&stripTags=true&offset=20"}}