Mr Compston tweeted a picture of a Conservative leaflet that had been posted through his door, saying: “I see Scottish tory twitter and their bots enraged an actor would express an opinion.
“Apparently it isn’t valid either as they claim I don’t live here.
"In that case could you do me, the postman and the environment a favour and stop sending me literature asking for my vote”.
Last night, Murdo Fraser of the Scottish Conservatives quote tweeted an article about Mr Compston’s views, saying: “Another ‘celeb’ who doesn’t live here telling us how to vote”.
The Greenock-born actor, who played Steve Arnott in the BBC drama, made the plea in an online rally for others to vote SNP in the election later this week, which aired shortly before millions of viewers tuned in to watch the final episode.
The actor told voters: “Scotland’s future is in your hands. Don’t leave it to chance.
“The only way to make sure we re-elect Nicola Sturgeon as First Minister is to make it #BothVotesSNP.
“Make sure you and all your pals get out to vote.”
Mr Compston claims that his comments “enraged” the “Scottish tory twitter”, saying that some were outraged that he had expressed his opinion at all.
The Scottish Conservatives have been contacted for a comment.