Skip to content

Commit

Permalink
Include poster's name to company page comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zoonman committed Jan 13, 2018
1 parent cec763e commit f212b6d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,12 @@
$companyShare = $client->post(
'companies/' . $companyId . '/shares',
[
'comment' => 'Checkout this amazing PHP SDK for LinkedIn!',
'comment' =>
sprintf(
'%s %s just tried this amazing PHP SDK for LinkedIn!',
$profile['firstName'],
$profile['lastName']
),
'content' => [
'title' => 'PHP Client for LinkedIn API',
'description' => 'OAuth 2 flow, composer Package',
Expand Down

0 comments on commit f212b6d

Please sign in to comment.