I use Facebook Graph API to post the messages on the user's wall with adding of all the message attributes (link, picture etc.) Everything had worked fine until I started to use this kind of urls:
<http://feb.social.sc-demo.net/sitecore/shell/Applications/Social/Publishing/UI/~/media/Images/Penguins.ashx>

I guess the fail happens because of using tilde or ashx extension, but I can’t avoid using of them.
Does anybody have any ideas?

Thanks in advance.