Now with status update form and request for network updates

Again a new updated version of the php classes lib for connecting the LinkedIn Api

Download: phpLinkedIn_v1.2.zip

Share this:
  • del.icio.us
  • eKudos
  • Facebook
  • LinkedIn
  • Technorati
  • Webbrille
  • Internetmedia
  • Netvibes

New release phpLinkedIn api connector

After some comments and issues a new version of the class library for connecting to LinkedIn Api.

# change log
- extra fields of profile
- ability to do status update

File: phpLinkedIn_v1.1.zip

w

Share this:
  • del.icio.us
  • eKudos
  • Facebook
  • LinkedIn
  • Technorati
  • Webbrille
  • Internetmedia
  • Netvibes

First release classes to connect with PHP to linkedIn api

Well, after a day and a night of programming my first release of the php classes that can be used to connect to the LinkedIn Api . I have used the Pecl lib of Oauth to connect to the Api. It is easy to install and good documentation on the php.net site.

Download phpLinked.zip

I have created three classes, in combination with an example and a config file.

First the config file


define('CALLBACK_URL', 'Here your callback url');
define('BASE_API_URL', 'https://api.linkedin.com');

define('REQUEST_PATH', '/uas/oauth/requestToken?oauth_callback=' . urlencode(CALLBACK_URL));
define('AUTH_PATH', '/uas/oauth/authorize');
define('ACC_PATH', '/uas/oauth/accessToken');

define('CUSTOMER_KEY', 'Here your customer key');
define('CUSTOMER_SECRET', 'Here your customer secret');

$profileFields = array('<here the profile fields you want to select');

I think pretty simple.

The class Request.php is the heart of the connection. This class is responsible for the startup & authorisation of the connection to linkedIn api.

The profile.php  and the connection.php are the model classes for the return values of the api.

Within the request class I use simplexml to itterate thru the returned xml of the api.

Pleasae a have a try and ask if you have any questions. Also requests of new features are welcome.

W

Share this:
  • del.icio.us
  • eKudos
  • Facebook
  • LinkedIn
  • Technorati
  • Webbrille
  • Internetmedia
  • Netvibes

LinkedIn starting public API

Finally, after a long period of waiting it’s finally there, the LinkedIn API. And at first sight, not so bad. A nice authentication model with Oauth. Although it takes some time for the “handy developer around the corner” the find out what tokens and secret keys of Oauth are for.

blog_mods

The site for the development community is also really shaken up. A nice Forum with offcource LinkedIn integration for all your questions about the api with 2 dedicated mods. Beside the forum a good description of the api and a default blog for the moderators to communicate to the community.

registerapi

After a short view of the api documentation I was wondering how the application registration process would take me to. So my first application was born after a few minutes. Didn’t complete all fields at once, first create the app. All pretty straight forward.

I will try to start this night for a good example class and share with you.

Keep in contact

w

Share this:
  • del.icio.us
  • eKudos
  • Facebook
  • LinkedIn
  • Technorati
  • Webbrille
  • Internetmedia
  • Netvibes
Get Adobe Flash playerPlugin by wpburn.com wordpress themes