PHP Bit.ly Plugin

PHP Bit.ly Plugin

[ad_1]

To get this product on 50 p.c contact me on this link

 

LIVE PREVIEWBUY FOR $6

The bit.ly plugin interacts with the bit.ly api permitting you to simply shorten urls, decode quick hyperlinks (to find out the place they level), and learn the way many instances a hyperlink has been clicked. It can even generate QR code photographs versus customary hyperlinks. Works with each bit.ly and j.mp hyperlinks.

Use this perform to get the quick hyperlink for a selected URL. It creates bit.ly hyperlinks by default, however works with j.mp api as properly.

echo $bitly->shorten('http://google.com');

Result: http://bit.ly/grqpfX

Additionally, you may return a qr code as an alternative of a textual content hyperlink like so:

echo $bitly->shorten('http://google.com', $service='bit.ly', $qr=true);

Result
PHP Bit.ly Plugin - 1

This perform will “expand” bit.ly or j.mp hyperlinks and retrieve the lengthy url that they level to.

echo $bitly->increase('http://bit.ly/grqpfX');

Result: http://google.com

Bitly Stats

Use this to get the clicking stats for bit.ly or j.mp hyperlinks. By default it can get the variety of clicks on simply your quick hyperlink. However, should you go “global” after the hyperlink it can get the variety of clicks from all hyperlinks pointing to the lengthy url (on this case sublantic.internet). Additionally you may enter “both” and it’ll return an array inluding each consumer and world click on stats.

$stats = $bitly->stats('http://bit.ly/grqpfX', $kind='each');
$stats['user']; // User hyperlink clicks
$stats['global']; // Global hyperlink clicks

Result

Clicks on http://bit.ly/grqpfX: 3
Clicks on all hyperlinks pointing to http://google.com: 1483

More Files From the PHP Plugin Suite


Image Plugin


Twitter Plugin


Video Plugin


Weather Plugin


Map + Weather Plugin

pose css

[ad_2]

To get this product on 50 p.c contact me on this link

 

Source

Pomento
Logo
Register New Account
Compare items
  • Total (0)
Compare
0
Shopping cart