In OOTB community site, when a user clicks on join community, that user is added to the top contributor like this. I want to add the user there programmatically. How is it possible?
Top contributor Web Part is based upon gramification and reputation model and I don't think members can't simply be added as top contributors. Instead members have to earn it or rewarded/gifted reputation scores to appear as top contributors.
Moreover, Community site doesn't expose any API at the moment