How do I go about either making, or retrieving facebook short url's (fb.me) from a page, profile, event etc? I want to update my url shortener site - but if the user links to a facebook page I want to just return a fb.me link instead. Does facebook make their short urls on the fly, or does each page automatically already have one?
You can use bit.ly api to create facebook short urls find the documentation here http://api.bitly.com
I'm not aware of any way to programmatically create these URLs, but the existing username space (www.facebook.com/something) works on fb.me also (e.g. http://fb.me/facebook )
Source: Stackoverflow.com