Learn R Programming

urlshorteneR (version 0.9.2)

bitly_LinksMetricsEncoders: Returns users who have encoded this long URL.

Description

Returns users who have encoded this long URL (optionally only those in the requesting user's social graph).

Usage

bitly_LinksMetricsEncoders(link, my_network = "false", limit = 25,
  expand_user = "false", subaccounts = "false", showRequestURL = FALSE)

Arguments

link

- a Bitlink.

my_network

- true or false (default) restrict to my network.

limit

- 1 to 1000 (default=1000).

expand_user

- true or false (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

http://dev.bitly.com/link_metrics.html#v3_link_encoders

Examples

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

Run the code above in your browser using DataLab