fbbotw.get_user_information

fbbotw.get_user_information(fbid)[source]

Gets user basic information: first_name, last_name, gender, profile_pic, locale, timezone, is_payment_enabled, last_ad_referral.

Usage:
>>> # Set the user fbid you want the information
>>> fbid = "<user fbid>"
>>> # Call the function passing the fbid of user.
>>> user_information = fbbotw.get_user_information(fbid=fbid)
Parameters:

fbid (str) – User id to get the information.

Return dict:
>>> user_information = {
    "first_name": "User First Name",
    "last_name": "User Last Name",
    "gender": "male/female",
    "profile_pic": "https://cdn_to_pic.com/123",
    "locale": "en_US",
    "timezone": -3,
    "is_payment_enabled": True,
    "last_ad_referral": "https://reference.to.ad"
}
Facebook docs:

/user-profile