In iOS 5, when a user attempts to share a link using the Facebook API, they are prompted to log in, but then the resulting page returns this:
<script type="text/javascript"> window.location.href="fbconnect:\/\/ success#_=_";
</script>
The only option is to close the window. If the user then attempts to share a link a second time, it works.
Any ideas how to resolve this?