New Twitter API: using it for a custom twitter feed(新的 Twitter API:将其用于自定义 Twitter 提要)
问题描述
人类.
我有一个自定义的 Twitter 提要小部件,在 API 更新之前它工作正常.代码是这样的:
humans.
I had a custom Twitter feed widget that was working fine until the API update. The code was like this:
<ul id="twitter_update_list"><li>Twitter feed loading</li></ul>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="https://api.twitter.com/1.1/statuses/user_timeline/username.json?callback=twitterCallback2&count=4"></script>
现在他们已更新到 API 1.1,此代码不起作用.所以,我的问题是,现在有没有人需要改变才能让它工作?还是我只需要开始使用他们的提要小部件?感谢您的任何回答!
Now that they have updated to API 1.1, this code doesn't work. So, my question is, does anyone now what I need to change to get this to work? Or do I just need to start using their feed widgets? Thanks for any answers!
推荐答案
您可以通过现场示例获得解决方案
You can get solution here with live example
http://codepen.io/jasonmayes/pen/Ioype
这篇关于新的 Twitter API:将其用于自定义 Twitter 提要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:新的 Twitter API:将其用于自定义 Twitter 提要


基础教程推荐
- npm start 错误与 create-react-app 2022-01-01
- Bootstrap 模态出现在背景下 2022-01-01
- 如何添加到目前为止的天数? 2022-01-01
- Fabric JS绘制具有活动形状的多边形 2022-01-01
- Bokeh Div文本对齐 2022-01-01
- fetch 是否支持原生多文件上传? 2022-01-01
- 原生拖动事件后如何获取 mouseup 事件? 2022-01-01
- 在 contenteditable 中精确拖放 2022-01-01
- 检查 HTML5 拖放文件类型 2022-01-01
- 即使用户允许,Gmail 也会隐藏外部电子邮件图片 2022-01-01