splashmedia/linkedin-php — pull request #1 by Baltazorr (2014-07-07 17:13:01+00:00)
Title: Update Client.php

For correct work of posting shares, I made some changes. Now it's possible to use GET data and POST data in single request. And now it's posible to send XML POST.

POST data sending as 4 parameter in `fetch` method.

Worked example from real project:
```php
$client = new \Splash\LinkedIn\Client($apiKey, $secretKey);
$client->setAccessToken($token);
$data = "

This is title

This is body
http://someurl.com/
http://lorempixel.com/400/400/nightlife/

anyone

";
$response = $client->fetch('/v1/people/~/shares', array(), 'POST', $data);
```