authentication for other user's link statistics

23 views
Skip to first unread message

Yiren Lu

unread,
May 2, 2013, 1:55:04 AM5/2/13
to bitl...@googlegroups.com
Hi,
How should I authenticate if I want to access the number of clicks for an arbitrary bitly link (something like the + operator in the url). I know that the generic access_token won't work, but should I use the web flow authentication or the basic? Can someone walk me through this?
Thanks so much, 
Ren

a...@bit.ly

unread,
May 3, 2013, 6:10:33 PM5/3/13
to bitl...@googlegroups.com
Hi Ren --

If you already have the bitly short link (and it sounds like you do) then you don't need the access_token of the user that created the link.  You can just get the click stats by using the v3/link/clicks endpoint and your own generic access token.  (http://dev.bitly.com/link_metrics.html#v3_link_clicks)

Let me know if you have any other questions about how to use that endpoint or anything else about the API.

Regards,
Andrew
Reply all
Reply to author
Forward
0 new messages