The affiliate link is a raw link with an affiliate ID number and not all Social Media will accept these links. e.g. Facebook will block them.
2.Add the "Pretty Link Lite" plugin to your website; Install & Activate.