JavaScript error on logging in

限于喜欢 提交于 2019-12-10 20:23:17

问题


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?


回答1:


I do have the same problem. It is an issue with iOS 4.2 as well. The javascript I get in return has a lillte different success-statement. Mine is ''... success?post_id=MyFbUserID_253268854729889#="; ...''. I do use the facebook iOS SDK e9df551 from Nov 03, 2011.

See posting Facebook Feed Dialog returns a unhandled JavaScript including post_id that crashes iOS app



来源:https://stackoverflow.com/questions/7987431/javascript-error-on-logging-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!