I agree that both are a factor in the issue. Though it seems to me the power of the Russian meddling seems to be the pot stirring and riling up the base. We should absolutely crack down on outside influences on elections.
But I also think that where the meddling “worked” was getting people on the right to go out and vote. Granted this is just speculation, but I have doubts that their shit posting influenced a lot of moderates who were going to vote for Hillary to instead vote for Trump. It seems to me more choir preaching which would energize some to make it to the polls. The democrats did themselves no favors as Clinton is not a likable character for various reasons, especially to moderates and independents, which is what helped Obama win twice.
So I would agree with @FFabian that the bulk of the “blame” lies with the American voter and the electoral collage system that can lead to a minority of popular votes creating a winner. But the Russian meddling certainly assisted things and we need to be hyper vigilant in the next 2 years.
Remember, the whole reason for a foreign power to back one candidate over another is they want the weakest leader in power.