People with fewer friends on Facebook raise more money for charity than those with lots of connections, research by an economist at the University of Warwick has found.