We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0db5037 commit 9cb8fe5Copy full SHA for 9cb8fe5
examples/index.php
@@ -78,6 +78,26 @@
78
]
79
);
80
pp($share);
81
+
82
+ $companyId = '2414183';
83
84
+ $companyShare = $client->post(
85
+ 'companies/' . $companyId . '/shares',
86
+ [
87
+ 'comment' => 'Checkout this amazing PHP SDK for LinkedIn!',
88
+ 'content' => [
89
+ 'title' => 'PHP Client for LinkedIn API',
90
+ 'description' => 'OAuth 2 flow, composer Package',
91
+ 'submitted-url' => 'https://github.com/zoonman/linkedin-api-php-client',
92
+ 'submitted-image-url' => 'https://github.com/fluidicon.png',
93
+ ],
94
+ 'visibility' => [
95
+ 'code' => 'anyone'
96
+ ]
97
98
+ );
99
+ pp($companyShare);
100
101
} catch (\LinkedIn\Exception $exception) {
102
// in case of failure, provide with details
103
pp($exception);
0 commit comments