Updated \Fuel_Exception and \Input::get_post to \FuelException and \Input::param respectively
Returning linkedin response as json rather than xml for consistency with other libs, added picture to user info array (similar to twitter)
Fixed a pass-by-reference error I was seeing on end(explode('/', $user['public-profile-url'])) with the linkedin lib
requesting a json response for linkedin user data
Updates for Fuel v1.2
revert url key to "Linked In" from "linkedin"
Why does this exist?
It's being used on line 65 $this->last(explode('/', ... because end(explode('/' was giving an "only variables should be passed by reference" error because end() uses a reference, and the result from the explode call can't be used directly.
I could just set a variable as the result of the explode in the get_user_info function if that would be preferable.
Yes please just set the variable and grab the last item that way. I know it's silly, but I don't like the idea of adding an undocumented method just for this. The rest of the PR is perfect :)
Sounds good, updated.
using $split_url rather than last() method for user's nickname