powered by
See http://dev.bitly.com/user_metrics.html#v3_user_popular_links
bitly_UserMetricsPopularLinks(limit = 1000, unit = c("minute", "hour", "day", "week", "month"), units = -1, showRequestURL = FALSE)
- 1 to 1000 (default=1000).
- minute, hour, day, week or month, default: day; Note: when unit is minute the maximum value for units is 60.
- an integer representing the time units to query data for. Pass -1 to return all units of time.
- show URL which has been build and requested from server. For debug purposes.
link - a Bitlink.
clicks - the number of clicks on that Bitlink in the specified timeframe.
# NOT RUN { bitly_token <- bitly_auth(key = "", secret = "") bitly_UserMetricsPopularLinks(unit = "day", units = -1, limit = 100) # } # NOT RUN { # }
Run the code above in your browser using DataLab