Also, to the extent that a platform is surfacing content based on a friend or follow model, then that itself is intrinsically sufficient moderation for the spam problem (because you can simply unfriend or unfollow spam accounts).
(Spam friend requests and follows still need to be addressed, however.)