Send Message By Name

It searches the keyword passed in keyword and clicks on first search result and send message passed in message.

body: returns data

success_score: api success rate

errors: errors encountered in api

Here is the code:-

linkedin.send_message_by_name(message='Hi', keyword='DataKund')
Parameters
  • message (str) – Text need to comment on post

  • keyword (str) – Name of the user who need to be searched

Returns

{“body”: {}, “success_score”: “100”, “errors”: []}

Return type

dict