mremi / UrlShortener

A PHP library to generate shortened URL through famous API like Bit.ly or Google
MIT License
79 stars 32 forks source link

Google broken #8

Closed claygorman closed 7 years ago

claygorman commented 7 years ago

I cloned the project and tried to shorten with google url and it always returns null.

Command line works ok..

Would you mind testing?

racibaz commented 7 years ago

9

mremi commented 7 years ago

Hi,

No need to return something, the given link is altered, it's an object, so a reference, so you can retrieve the shorten URL in your code with $link->getShortUrl().

racibaz commented 7 years ago

@mremi Thank you.