fb

fb.fb.getdata

Declaration
lua
fb.getdata([cookie])
Description
Get Facebook session data (fb_dtsg, lsd, jazoest, etc.) from bootloader endpoint. Auto-calls fb.getcookie() if no cookie passed.
Parameters
`cookie` (string, optional) — cookie string, auto-fetched if omitted
Return Values
`table` {fb_dtsg, lsd, jazoest, rev, spin_r, spin_b, spin_t, haste_session, hsi, uid, pageuid, page_id, cookie} — or `nil, string` error
Example
lua
local d = fb.getdata()
if d then
  sys.log("DTSG: " .. d.fb_dtsg)
  sys.log("UID: " .. d.uid)
end