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?

+3
java facebook web-scraping jsoup


source to share


No one has answered this question yet

See similar questions:

3
Facebook login via Jsoup

or similar:

512
The developers of this app haven't configured this app correctly for Facebook login?
7
Login to secure website with Java / Jsoup redirect
3
Facebook login via Jsoup
2
How do I use Jsoup to log into my university website?
2
Login to Facebook via JSoup
1
Show Facebook login dialog in iFrame
1
Titanium Webview Facebook Login locked on Android
0
Facebook api not working in my emulator?
0
Can't start facebook login in localhost use Laravel
0
Facebook Login for browser extension at www.facebook.com



All Articles
Loading...
X
Show
Funny
Dev
Pics