By Belinda Goldsmith

LONDON (Reuters) - American swimmer Michael Phelps leaves London as the most decorated Olympian with 22 medals and he can also lay claim to another title - winning most fans on social media during the 2012 Games.

London 2012 has been dubbed the first Social Media Games with the use of Twitter and Facebook exploding since the Beijing Olympics in 2008 and allowing athletes to chat directly with their fans for the first time.

It has also been a testing ground for athletes, managers and sponsors to find out what does and does not work on social media, with two athletes expelled for racist tweets and a teenager arrested for abusing British diver Tom Daley.

"A clear majority of medal winners are actively communicating with their fans through Facebook, Twitter and other networks in London 2012," said Drew Thomson, chief executive of Starcount, the social media tracker.

Figures released to Reuters by Starcount on Friday showed that Phelps added one million Twitter followers at the London Olympics which started on July 27 to bring his total number of followers to 1.2 million and 800,000 Facebook fans.

Jamaica's Usain Bolt, who stormed to gold in both the 100 and 200 meters finals, was second in the list, adding 725,000 followers on Twitter to reach 1.36 million and attracting another 700,000 Facebook fans.

SURGE OF SUPPORT

Joint third in the popularity stakes at London were Daley and 16-year-old U.S. gymnast Gabby Douglas, nicknamed "the Flying Squirrel."

Douglas won 600,000 new Twitter followers, helped by two gold medals and an exchange with new fan, singer Justin Bieber, and her Facebook fan count grew to almost 600,000 from 15,000.

Daley, 18, was a favorite with the fans who were quick to come to his defense when he was attacked on Twitter for failing to win a medal in his first event with an Internet troll saying he had let his father down. His father died last year.

Daley retweeted the comment and a 17-year-old man was arrested on suspicion of malicious communication.

The social media firestorm that followed pushed up Daley's Twitter followers to 1.2 million, having started the Olympics at around 300,000, and he recruited over 500,000 new Facebook fans.

The other athletes in the top 10 for gaining fans were British heptathlete Jessica Ennis, Chinese swimmer Sun Yang, U.S. swimmer Ryan Lochte, Chinese hurdler Liu Xiang, badminton player Lin Dan, and U.S. basketball player LeBron James.

Starcount, which pulls data from 11 global social networks to chart activity, also ranked the teams and found the host, Team GB, gained the most followers during the London Games, winning 50,000 Facebook fans and 22,000 Twitter followers.

Lewis Wiltshire, head of sport at Twitter UK, said Twitter had given the Games a new dimension.

He said highlights included Manchester United player Rio Ferdinand chatting with Bolt, Phelps and team mate Ryan Lochte congratulating each other, and Tim Berners-Lee, the inventor of the World Wide Web, live-tweeting from the opening ceremony.

"We have seen athletes sharing photos, answering questions, responding to 'good luck' wishes and talking to fellow stars, all giving fans first-hand insight into their experiences of the Games," Wiltshire told Reuters.

Garry Crawford, senior lecturer in cultural sociology at Salford University, said this link between celebrities and the public was new for many athletes and teams at London.

Two athletes fell foul of Twitter, with Swiss footballer Michel Morganella and Greek triple jumper Voula Papachristou kicked out of the Olympics for racist tweets.

Other athletes referred to Twitter as being a distraction.

"I think we will see more control by managers and agents on Twitter in the future as they have been quite naive over its use and people have been caught out," Crawford told Reuters.

He said the Olympics had been a good testing ground as it was an event concentrated over a limited period of time and with high involvement from all parties.

Leah Donlan, a lecturer on sports marketing at the University of Central Lancashire, said sponsors were also learning how to use social media to their advantage, realizing that corporate talk would not get them followers.

"Companies really were shooting in the dark before the Olympics and I think at future events they will get more creative and learn from those doing it well," said Donlan.

(Editing by Ed Osmond)

Loading Slideshow...
  • FILE - In this Aug. 16, 2008 file photo, United States' Michael Phelps reacts as he wins gold in the final of the men's 100-meter freestyle during the swimming competitions in the National Aquatics Center at the Beijing 2008 Olympics in Beijing. Phelps retires with twice as many golds as any other Olympian, and his total of 22 medals is easily the best mark. (AP Photo/Mark Baker, File)

  • FILE - In this Aug. 14, 2004 file photo, Michael Phelps, of the United States, smiles with his gold medal after setting a world record in the 400-meter individual medley at the Olympic Aquatic Centre during the 2004 Olympic Games in Athens. Phelps retires with twice as many golds as any other Olympian, and his total of 22 medals is easily the best mark. (AP Photo/Mark J. Terrill)

  • FILE - In this Aug. 16, 2004 file photo, Michael Phelps, of the United States, swims in a qualifying heat of the 200-meter butterfly at the Olympic Aquatic Centre during the 2004 Olympic Games in Athens. Phelps retires with twice as many golds as any other Olympian, and his total of 22 medals is easily the best mark. (AP Photo/Mark J. Terrill)

  • Michael Phelps

    FILE - This combination of photos shows United States' Michael Phelps holding each of his eight gold medals after (top, left to right) the 400m individual medley, 4 x 100m freestyle relay, 200m freestyle, 200m butterfly, (bottom, left to right) 4 x 200m freestyle relay, 200m individual medley, 100m butterfly and the 4x100-meter medley relay at the Beijing 2008 Olympics in Beijing. Phelps retires with twice as many golds as any other Olympian, and his total of 22 medals is easily the best mark. (AP Photo, File)

  • Michael Phelps

    FILE - In this Aug. 11, 2008 file photo, Michael Phelps celebrates the gold medal victory in the men's 4x100-metre final at the Beijing 2008 Summer Olympics in Beijing. Phelps retires with twice as many golds as any other Olympian, and his total of 22 medals is easily the best mark. (AP Photo/The Canadian Press, Paul Chiasson, File)

  • FILE - In this Aug. 14, 2004 file photo, Michael Phelps, of the United States, jumps off the blocks enroute to winning gold in the final of the 400 meter individual medley at the Olympic Aquatic Centre during the 2004 Olympic Games in Athens. Phelps retires with twice as many golds as any other Olympian, and his total of 22 medals is easily the best mark. (AP Photo/Mark Baker, File)

  • FILE - In this July 31, 2012 file photo, United States' Michael Phelps poses with his gold medal for the men's 4x200-meter freestyle relay swimming final at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London. Phelps retires with twice as many golds as any other Olympian, and his total of 22 medals is easily the best mark. (AP Photo/Matt Slocum, File)

  • FILE - In this Aug. 15, 2004 file photo, Michael Phelps of the U.S. reacts after finishing in a semifinal heat of the 200m freestyle at the 2004 Olympic Games in Athens, Greece. Phelps retires with twice as many golds as any other Olympian, and his total of 22 medals is easily the best mark, (AP Photo/Thomas Kienzle, File)

  • United States' swimmer Michael Phelps smiles as he wears his gold medal at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Saturday, Aug. 4, 2012. Phelps retires with twice as many golds as any other Olympian, and his total of 22 medals is easily the best mark. (AP Photo/Mark J. Terrill)

  • United States swimmer Michael Phelps acknowledges fans after winning a gold medal in the men's 4 X 100-meter medley relay at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics, London, Saturday, Aug. 4, 2012. (AP Photo/Jae C. Hong)

  • Michael Phelps

    FILE - In this Aug. 17, 2008 file photo, United States' Michael Phelps celebrates after winning his 8th gold medal after the men's 4x100-meter medley relay final during the swimming competitions in the National Aquatics Center at the Beijing 2008 Olympics in Beijing. Phelps retires with twice as many golds as any other Olympian, and his total of 22 medals is easily the best mark. (AP Photo/David J. Phillip, File)

  • United States' Michael Phelps swims in the men's 4 X 100-meter medley relay at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Saturday, Aug. 4, 2012. Phelps retires with twice as many golds as any other Olympian, and his total of 22 medals is easily the best mark.(AP Photo/Julio Cortez)

  • Members of the United States team Matthew Grevers, left, Michael Phelps, middle and Brendan Hansen celebrates as Nathan Adrian finishes in the men's 4 X 100-meter medley relay at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Saturday, Aug. 4, 2012. (AP Photo/Julio Cortez)

  • United States' Michael Phelps prepares to swim in the men's 4 X 100-meter medley relay at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Saturday, Aug. 4, 2012. Phelps pushed the United States in front to win the medley relay Saturday in the final swimming event of the London Games, after which he is retiring. He leaves the sport with a record 18 golds and 22 medals overall. (AP Photo/Matt Slocum)

  • United States' men's 4 X 100-meter medley relay team from left, Matthew Grevers, Michael Phelps and Brendan Hansen shake hands with teammate Nathan Adrian after winning the gold medal at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Saturday, Aug. 4, 2012. Phelps pushed the United States in front to win the medley relay Saturday in the final swimming event of the London Games, after which he is retiring.(AP Photo/Matt Slocum)

  • United States' swimmer Michael Phelps holds up a silver trophy after being honored as the most decorated Olympian at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Saturday, Aug. 4, 2012. (AP Photo/Matt Slocum)