正确。您 正在 运行同源策略:
XMLHttpRequest cannot load http://steamcommunity.com/id/emperor_jordan/?xml=1. Origin http://fiddle.jshell.net is not allowed by Access-Control-Allow-Origin.
而且似乎Steam没有提供像JSONP这样的跨域解决方案。这意味着您回到了旧的但可靠的解决方案:在服务器上而不是在浏览器中获取数据。
有关Steam Web
API的一些相关反馈:https
:
//developer.valvesoftware.com/wiki/Steam_Web_API/Feedback#API_Considerations_for_Web_Developers



