-
Notifications
You must be signed in to change notification settings - Fork 10
BitlyUser
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.
Bitly.user(login).getInfo(function(err, results){ ... })
Bitly.user(login).getLinkHistory(params, function(err, results){ ... })
Bitly.user(login).getBundles(params, function(err, results){ ... })
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()
For more information about the Bitly public API, visit dev.bitly.com