added robust facebook url handling with unit tests