Publishing group Hachette has introduced a buy button on the Twitter feeds of its more popular authors.