The make-up of the new Scottish Parliament has been decided, after a dramatic election night which saw a number of surprising defeats and unexpected victories.

Representatives, whether new or old, will understand the power social media has in spreading their message and affecting the political conversation across the country.

With this in mind, STV News looked at the statistics on Twitter to see how our newly-elected parliamentarians are using the platform as a political tool, and how effective they have been.

In terms of followers, which gives an unscientific indication of a politician's public visibility and Twitter presence, it is unsurprising the First Minister has by far the highest number. Nicola Sturgeon is undoubtedly the country's most famous Holyrood politician, with perhaps only Alex Salmond a more recognisable Scots political figure.

Interestingly, Green co-convener Patrick Harvie has the second highest follower count. He is dwarfed by Sturgeon, with almost 250,000 fewer followers, but has used Twitter to engage with the party's younger, social media-using supporters. His lack of constituency success however highlights the disparity between social media and voting patterns.

Conservative leader Ruth Davidson is the only one of her party to reach the top ten, which is a reflection of her high profile position and the relative lack of social media use by Scotland's elected Tories.

Kezia Dugdale needs to work on her social media position as she is outranked by all the major party leaders except Willie Rennie (who has just over 9000).

The top tweeters are all either SNP or Green, reflecting the way both parties have taken to using Twitter to engage with voters.

New Green MSPs Andy Wightman and Ross Greer are high up the list, but might find their free time reduced as they adjust to life in Parliament.

SNP member Christina McKelvie has been in office since 2007, and has amassed more than 56,000 messages - so it is obviously possible to find the diary space to send out a quick tweet.

Ms McKelvie also tweets the most frequently, with nearly 30 sent everyday since she joined in 2011.

Once again the SNP and Green Party dominate the list, but a surprising addition is Annie Wells who is a new Tory member in Glasgow bucking the trend of the party's social media malaise.

Twitter influence is difficult to calculate with any level of accuracy, but we have used Kred scores as a measure.

The company describes their methodology as "the measure of what others do because of you".

Its website explains: "Your Influence score increases when someone takes an action because of your content on Twitter or any other network you have connected to your Kred profile.

"You receive Influence Points every time people interact with you or your content."

Predictably Nicola Sturgeon tops the list, as Holyrood's only figure with a measure of UK-wide recognition.

SNP minister Humza Yousaf also exerts considerable Twitter influence, significantly more than John Swinney despite his senior role within the Government.

Once again Patrick Harvie and Ruth Davidson also enjoy engagement from voters, although the score does not taken into account whether this is positive or negative.

While most of the country's MSPs have recognised the potential that Twitter and social media has for getting out their message and interacting with voters, some have quite a bit of work to do in increasing their influence in the digital sphere.

New MSPs Colin Smyth (Labour) Liam Kerr, Donald Cameron and Dean Lockhart (Tories) can expect to build a bigger following as the new parliament goes forward, and will have their profiles boosted in the new session.

The SNP's Willie Coffey is bottom of the list with only 332 followers and no tweets since days after the 2014 independence referendum. He was re-elected with an increased majority this time and has been an MSP since 2007, suggesting social media influence does not equal electoral success.