How are we obtaining the x-fb-lsd
token?
#26
Comments
Hi @nasty-nick-tv! We obtain the token by parsing the HTML doc. This logic is inside both threads-api/threads-api/src/threads-api.ts Lines 194 to 203 in c86f4d8
Best of luck with your client! I would greatly appreciate it if you could reference my work here (Rest assured, I'll do the same for you in this project's |
x-fb-lsd
token?
x-fb-lsd
token?x-fb-lsd
token?
Question, how do we get |
Hi, @Digital39999! Currently, this library
const threadsAPI = new ThreadsAPI()
const threadsAPI = new ThreadsAPI({
fbLSDToken,
noUpdateLSD: true /* default is `false`, if you want to fix `fbLSDToken` with your provided value, set to `true` */
})` |
Ah thank you for information, are there any rate-limits you occurred yet? It seems that it starts redirecting after too many requests, which isn't ideal, could you add a handler for that? Also |
Added custom proxy options in #32 to sort of prevent this from happening. |
Oops, my bad. Should've fixed this. |
Hi,
I am copying these calls into a Java client.
How can we obtain the 'x-fb-lsd' token?
Thanks
The text was updated successfully, but these errors were encountered: