fix share via twitter/facebook w/r/t moving logic into python