decode_short_url: A function to decode shortened URLs

Description Usage Arguments Details Value Author(s) References Examples

Description

Will expand a URL that has been processed by a link shortener (e.g. bit.ly). Provided as a convenience function to users who may which to perform this operation.

Usage

1

Arguments

url

A character string, the URL to decode

...

Optional arguments to pass along to RCurl

Details

Uses the longapi.org API

Value

A character string containing either the original URL (if not shortened) or the full URL (if shortened)

Author(s)

Neil Jang

References

longapi.org

Examples

1
2
3
4
  ## Not run: 
    decode_short_url("http://bit.ly/23226se656")
  
## End(Not run)

geoffjentry/twitteR documentation built on May 17, 2019, 1:12 a.m.