fb

fb.fb.uid

Declaration
lua
fb.uid([selector [, bundleIdentifier]])
Description
Đọc UID đăng nhập thực của clone đã chọn. Mặc định clone ở màn hình trước.
Parameters
selector (string, tùy chọn): UID, tên app/tên tài khoản chính xác hoặc Bundle ID. bundleIdentifier (string, tùy chọn): chọn riêng clone của UID.
Return Values
UID string hoặc nil,error
Example
lua
local uid = fb.uid()
if uid then sys.log("Logged in: " .. uid) end
Notes
Đọc UID phiên thực; không dùng marker nhận diện container để xác nhận đăng nhập. Không truyền lựa chọn chỉ dùng clone ở màn hình trước. UID truyền vào phải khớp phiên đã đọc.