fix addShareLink calls were backwards

changed parameters and calls to be right order