The fact that you spam messages to too many people is because Facebook is scanning you. What should you do when you message your customers, they must reply and customers proactively message you first?
Ensure that LinkedIn can easily detect irregular behavior and suspend your account for inappropriately using certain automation. Anyway, take it into account. You can try scaping Dripify or Linked Helper.