See https://dev.bitly.com/v4/#section/Rate-Limiting and https://dev.bitly.com/v4/#operation/createFullBitlink Convert a long url to a Bitlink and set additional parameters.
bitly_create_bitlink(long_url = NULL, domain = "bit.ly",
title = NULL, tags = NULL, group_guid = NULL,
deeplinks_list = list(app_uri_path = NULL, install_type = NULL,
install_url = NULL, app_id = NULL), showRequestURL = FALSE)
- required, a long URL to be shortened (example: http://betaworks.com/). Must contain http/https
- (optional) the short domain to use; either bit.ly, j.mp, or bitly.com or a custom short domain. The default for this parameter is the short domain selected by each user in their bitly account settings. Passing a specific domain via this parameter will override the default settings.
- title of the bitlink in https://bit.ly UI
- Array of string, use e.g. c("test1", "test2")
- a GUID for a Bitly group
- a list containing parameters below
- show URL which has been build and requested from server. For debug purposes.
- app_uri_path
- install_type
- install_url
- app_id
id - a short bitly identifier for long_url which is unique to the given account.
long_url - This may not always be equal to the URL requested, as some URL normalization may occur (e.g., due to encoding differences, or case differences in the domain). This long_url will always be functionally identical the the request parameter.
link - an bitly id with http(s) prefix
# NOT RUN {
bitly_create_bitlink(long_url = "http://slovnik.seznam.cz/")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab