Fix the links sent to Facebook to validate properly

The URLs give to Facebook for invites weren't working.  This fix
addresses the issue.

Jira issue: WP-852