【发布时间】:2011-12-01 05:40:30
【问题描述】:
这是我在这里发布的第一个问题,所以如果我使用错误的形式,我会提前道歉。
我将我的 tumblr 博客文章输入我网站的旁边部分。今晚提要没有显示在我的页面上。 Chrome 显示此错误:
"Uncaught SyntaxError: Unexpected token < hearthescene.tumblr.com:1"
这是显示我的 json 请求的代码片段:
$.getJSON(
"http://hearthescene.tumblr.com/api/read/json?callback=?",
function(data) {
...formatting the data for my site....
}
);
这几天我实际上没有在网站上编辑任何内容。我想知道 tumblr 是否提高了安全性,我需要进行一些 OAuth 身份验证或提供 api 密钥吗?
任何帮助将不胜感激。提前致谢。
【问题讨论】:
标签: json api oauth tumblr api-key