I\'m trying to connect to the LinkedIn API but everytime I try to access it I get the following error:
Fatal error: Class \'OAuth\' not found in /home/vh
I use hostgator for hosting and was having this problem so if your host also uses cpanel you should be able to do what I did.
Go 1 directory up from the live directory in File Manager where you can see "public_html, www, tmp". (Or click the home folder icon to the left) and in there you should find a php.ini file. edit the file adding extension=oauth.so
to the very end and save it.
Checking phpinfo() after that you should find a section called "OAuth" and everything should work fine.