LinkedIn::invite
Send connection invitations.
Send an invitation to connect to your network, either by email address or by LinkedIn ID. Details on the API here: http://developer.linkedin.com/docs/DOC-1012
Signature
public function invite(string
$method,
string
$recipient,
string
$subject,
string
$body,
[string
$type = 'friend'] )
Parameters
$method
— string
The invitation method to process.$recipient
— string
The email/id to send the invitation to.$subject
— string
The subject of the invitation to send.$body
— string
The body of the invitation to send.$type
— string
[OPTIONAL] The invitation request type (only friend is supported at this time by the Invite API).
Returns
- array
Array containing retrieval success, LinkedIn response.