Encode the url before requesting the server.

The social urls are requested when the buttons are clicked.