Question Open links in official FB app - WP8

I wanted to integrate into my app some FB features. I found some information, that I can launch the official FB app by:
Windows.System.Launcher.LaunchUriAsync(new Uri("fb:pages?id=<<ID of page>>"));
Therefore my question:
1. Does anybody knows how to convert the FB URL (e.g. into the ID required for the Uri Launcher?
2. Does anybody knows how to determine whether the URL was a profile, a page, a group, an event or something else?

I googled it but found no official documentation.

Current devices:

Nokia Lumia 820 RM 825
Microsoft Surface 2