Minor bug fix in Social buttons server side.