Ensure the user ID is correctly extracted from Facebook link

When the returned link has slash character(s) at the end, username will be extracted as blank. This fix strips all slash present at end of the URL before splitting.