Instant Share: improve error handling by the server
Addresses minor concerns from the pull request
LinkShareView: makes the origin url a dependency