Afghans have taken to social media to condemn the fatal shooting of a former television journalist and parliamentary advisor.