Facebook login via JSoup or another browser emulator
There is already a question (here) , but my question is different.
The Facebook login form needs some request headers and hidden fields.
lsd
local
timezone
default_persistent
lgnrnd
lgnjs
qsstamp
where local, timezone, default_persistent
could be static values, but afaik lsd, lgnrnd, lgnjs, qsstamp
are dim fields and their values ββchange for every login visit, I guess they are there to prevent emulated logins like I do. The qsstamp field doesn't even exist on page load. The values ββare lgnjs and qsstamp
calculated via Javascript on the facebook welcome page.
My question is: Jsoup does not emulate javascript, then how do I get the correct values ββfor these fields to get through the login of facebook?
source to share
No one has answered this question yet
See similar questions:
or similar: