Question Open links in official FB app - WP8

Hi,
I wanted to integrate into my app some FB features. I found some information, that I can launch the official FB app by:
Code:
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. https://www.facebook.com/bild) 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.
Thanks


Current devices:

Nokia Lumia 820 RM 825
Microsoft Surface 2