Learn R Programming

urlshorteneR (version 0.8.8)

bitly_UserMetricsPopularLinks: Returns the authenticated user's most-clicked Bitlinks (ordered by number of clicks) in a given time period.

Description

See http://dev.bitly.com/user_metrics.html#v3_user_popular_links

Usage

bitly_UserMetricsPopularLinks(limit = 1000, unit = c("minute", "hour",
  "day", "week", "month"), units = -1, showRequestURL = FALSE)

Arguments

Value

link - a Bitlink.

clicks - the number of clicks on that Bitlink in the specified timeframe.

Examples

Run this code
bitly_token <- bitly_auth(key = "", secret = "")
bitly_UserMetricsPopularLinks(unit = "day", units = -1, limit = 100)

Run the code above in your browser using DataLab