jelovac / bitly4laravel

Provides a Laravel package to communicate with Bit.ly API
35 stars 18 forks source link

Laravel 5 error #25

Closed peterlevin closed 8 years ago

peterlevin commented 8 years ago

Invalid variable type detected! The variable must be type "String", "NULL" type passed.

Followed instructions.

Added use Bitly; to my controller and getting above error with:

$test = Bitly::shorten('http://google.com/');

return $test;

peterlevin commented 8 years ago

hold up! Think i figured it out...stand by!

peterlevin commented 8 years ago

Nope, can't figure it out. Added acccess token to config and can't get it to work.

briff commented 8 years ago

Works for me out of the box on laravel 5.2

jelovac commented 8 years ago

Couldn't reproduce this issue. Closing for now.

freel132 commented 8 years ago

have same issue