bitly_UserInfo(showRequestURL = FALSE)
- show URL which has been build and requested from server. For debug purposes.
login - the specified bitly login or the login of the authenticated user.
profile_url - URL of user's profile page.
profile_image - URL of user's profile image.
member_since - Unix timestamp for the moment the user signed up.
full_name - (optional) the user's full name, if set.
display_name - (optional) the user's display name, if set.
share_accounts - (optional) a list of the share accounts (Twitter or Facebook) linked to the user's account.
NOTICE: Only included in requests for a user's own info.
apiKey - the user's bitly API key.
is_enterprise - 0 or 1 to indicate if this account is signed up for Bitly Brand Tools.
has_master - 0 or 1 to indicate if this account is a customer sub account.
custom_short_domain - A short domain registered with this account that can be used in place of bit.ly for shortening links.
tracking_domains - A list of domains configured for analytics tracking.
default_link_privacy - public or private indicating the default privacy setting for new links.
domain_preference_options - A list of the valid short domains that this account can choose as a default.
NOTICE: Only included for enterprise accounts (is_enterprise == 1 or has_master == 1).
sub_accounts - (optional) list of accounts associated with this account.
e2e_domains - (optional) list of domains associated with this custom_short_domain.
tracking_url_prefixes - A list of owned 3rd party urls such as Facebook tracked for analytics
master_account - (optional) the login of a master account, if this is associated with an enterprise account.
enterprise_permissions - (optional) list of enterprise permissions associated with this account.
bbt_start_date - (optional) the date for when this account became a Bitly Brand Tools account.
# NOT RUN {
bitly_token <- bitly_auth(key = "be03aead58f23bc1aee6e1d7b7a1d99d62f0ede8", secret = "")
uI <- bitly_userInfo()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab