I think what you mean to say is "don't build a product that depends on LinkedIn", and to that, I absolutely agree. LinkedIn, with its chain email spamming and forced mass invites, is literally the post-child for internet dark patterns and unethical behavior. Furthermore, the sheer volume of people on there automatically force recruiting agencies to use bots (or at least copy-and-paste) to spam folks on there, and in general leads to bad returns for the recruiter and tons of spam for you the programmer.