Facebook Graph API的MIME类型是否导致IE8上的错误? [英] Does the mime-type of the Facebook Graph API cause an error on IE8?

查看:95
本文介绍了Facebook Graph API的MIME类型是否导致IE8上的错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



a href =http://developers.facebook.com/docs/api =nofollow noreferrer> http://developers.facebook.com/docs/api



我尝试过不同的电脑(Windows 7)。
它可以在Firefox和Chrome上正常工作。



对于所有人来说,这样做是一样的吗?



<编辑:查看我的评论查看错误。

解决方案

只是一个MIME类型的处理问题。



Graph API响应是 text / javascript ,显然IE8不喜欢直接渲染浏览器窗口,而是提供给用户下载。



没有坏处。就像serg555所说,Graph中的数据真的是由机器而不是人类通过浏览器使用。


Strangly on IE8 when I log into the documentation of the Graph API of Facebook and click on any of the exemple link it ask me to download a file.

http://developers.facebook.com/docs/api

I tried on differents computer (Windows 7). It works fine on Firefox and Chrome.

Does it do the same for all of you?

EDIT: See my comment to view the error.

解决方案

It's not broken at all - just a MIME-type handling issue.

The Graph API response are text/javascript, which apparently IE8 doesn't like to render directly in the browser window, but rather presents to the user for downloading.

Nothing's broken. And like serg555 said, the data in the Graph is really meant to be consumed by machines, not humans via a browser.

这篇关于Facebook Graph API的MIME类型是否导致IE8上的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆