Skip to content
Nathaniel Kirby edited this page Jan 26, 2014 · 4 revisions

A helper BitlyUser object is available via

Bitly.user()
Bitly.user(login)

Most BitlyUser methods are only available for the currently authenticated user, but some methods do allow you to get information about another user.

Available for any login

Bitly.user(login).getInfo(function(err, results){ ... })
Bitly.user(login).getLinkHistory(params, function(err, results){ ... })
Bitly.user(login).getBundles(params, function(err, results){ ... })

Available for only the authenticated user

All methods follow the same method signature: (params, callback)

Bitly.user().getNetworkHistory()

Bitly.user().getTrackingDomains()

Bitly.user().getClicks()

Bitly.user().getCountries()

Bitly.user().getPopularEarnedByClicks()

Bitly.user().getPopularEarnedByShortens()

Bitly.user().getPopularLinks()

Bitly.user().getPopularOwnedByClicks()

Bitly.user().getPopularOwnedByShortens()

Bitly.user().getReferrers()

Bitly.user().getReferringDomains()

Bitly.user().getShareCounts()

Bitly.user().getShareCountsByShareType()

Bitly.user().getShortenCounts()

More Info

For more information about the Bitly public API, visit dev.bitly.com

Clone this wiki locally