Learn R Programming

urlshorteneR (version 0.8.8)

bitly_IsProDomain: Validate given domain for the PRO features

Description

Query whether a given domain is a valid bitly pro domain. Keep in mind that bitly custom short domains are restricted to less than 15 characters in length.

Usage

bitly_IsProDomain(domain, showRequestURL = FALSE)

Arguments

Value

bitly_pro_domain - 0 or 1 designating whether this is a current bitly domain.

domain - an echo back of the request parameter.

See Also

See http://dev.bitly.com/domains.html#v3_bitly_pro_domain

Examples

Run this code
bitly_token <- bitly_auth(key = "be03aead58f23bc1aee6e1d7b7a1d99d62f0ede8", secret = "")
bitly_IsProDomain(domain = "nytidsfds.ms") 
bitly_IsProDomain(domain = "nyti.ms", showRequestURL = TRUE)

Run the code above in your browser using DataLab