Good day. I am trying to do some basic LinkedIn integration and am having a lot of trouble with the CakePHP-LinkedIn plugin.
For the moment, I would just like to add an action to my UsersController that dumps my LinkedIn profile. Nothing fancy, just a basic print_r of the information received back from LinkedIn when I browse to /users/linkedin . For some reason, I am just not understanding the plugin process. I've never used them before and I am getting a number of different errors when I try different things. So far, I copied the following plugins into place: LinkedIn into app/Plugins/linkedin HttpSocketOauth plugin (ProLoser fork) to app/Plugins/ http_socket_oauth Apis plugin to app/Plugins/apis In app/Config/database.php, I've added the following: var $linkedin = array( 'datasource' => 'Apis.Apis', 'driver' => 'Linkedin.Linkedin', 'login' => '_redacted_', 'password' => '_redacted_', ); Now I get lost ... I'm not sure what needs to happen end up with a "linkedin" method to my Users controller. I've tried a bunch of different things, but it like taking shots in the dark. Should I be setting up a new model and controller in app/Models and app/Controllers? Do I just need to load the plugins via 'CakePlugin::loadAll();' in bootstrap and then put something in the Users controller to access them? Some errors that I have gotten: Datasource class Apis.Apis could not be found. Fatal error: Cannot redeclare class... Any pointers would be appreciated. Thanks. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php