Learn R Programming

urlshorteneR (version 0.9.2)

bitly_LinksMetricsEncodersByCount: Returns users who have encoded this link.

Description

Returns users who have encoded this link (optionally only those in the requesting user's social graph), sorted by the number of clicks on each encoding user's link.

Usage

bitly_LinksMetricsEncodersByCount(link, limit = 100, my_network = "false",
  expand_user = "false", subaccounts = "false", showRequestURL = FALSE)

Arguments

link

- a Bitlink.

limit

- 1 to 1000 (default=1000).

my_network

- true or false (default) restrict to my network

expand_user

- false (always default) include display names of encoders

subaccounts

- (only available to enterprise accounts) false (always default) restrict to this enterprise account and its subaccounts

showRequestURL

- show URL which has been build and requested from server. For debug purposes.

Value

entries - a mapping of link, user, and ts (when the Bitlink was created) and possible more depending on input parameters.

See Also

See http://dev.bitly.com/link_metrics.html#v3_link_encoders_by_count

Examples

Run this code
# NOT RUN {
bitly_token <- bitly_auth(key = "", secret = "")
bitly_LinksMetricsEncodersByCount("http://bit.ly/DPetrov", my_network = "false", limit = 100) 
bitly_LinksMetricsEncodersByCount("http://bit.ly/DPetrov", my_network = "false", limit = 100, 
expand_user = "true")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab