I thought that summiting the same post on multiple sites would hurt the SEO. So, the canonical_url avoid this issue?
Yes. Exactly the idea behind it.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.