Bit.ly - API Stat Tracking

I’m not sure if this is the right forum for this question, but I don’t know where else to ask it.

bit.ly provides statistics for links that are generated through their site. However, it does not seem to generate statistics for links generated through their APIs.

Can anyone tell if I have a way to see the statistics related to the link generated via the API?

Thanks!

+3
source share
3 answers

You need to use the API as an authenticated user so that the links appear in the control panel. Statistics are tracked for API links, you just need to know how to get to them.

bit.ly , + URL- - StackOverflow (http://bit.ly/3UaZQr) http://bit.ly/3UaZQr+.

0

. , : http://bit.ly/info/t3XJe - , ( API) .

api.bit.ly, api. ( bit.ly), , , RSS bit.ly, - , -.

0

When calling the /shortenREST API action, you need to add a parameter &history=1to report the .ly bit in order to add the URL to the web history for the authenticated user.

For example:

http://api.bit.ly/shorten?version=2.0.1&longUrl=http://cnn.com&login=bitlyapidemo&apiKey=R_0da49e0a9118ff35f52f629d2d71bf07&history=1

Available version of the above link

0
source

Source: https://habr.com/ru/post/1715331/


All Articles