The expansion can be implemented in snsbase. It's a matter of HTTP requests.
Many OSN platforms provide URL shortening services. However, they require authorisation (or valid app_key/app_secret) before using it. If we can find and wrap some global services, that will be better. e.g. bitly (is it behind GFW?)
We need this in our utility collection.