twitter api 中的 data-widget-id 是什么?我如何获得数据小部件 ID? [英] What is data-widget-id in twitter api ? How i can get the data-widget-id?
问题描述
我在使用之前版本的 twitter api 时遇到了一些问题,我想迁移到最新版本.我在这里看到一些信息https://dev.twitter.com/docs/embedded-timelines.
I have some problems with previous version of the twitter api and I want to move to latest version. I see some information here https://dev.twitter.com/docs/embedded-timelines.
这里的 data-widget-id
是什么.我想在我的网站上显示一些指定人的推文.
What is data-widget-id
here. I want to show some specified people tweets in my website.
我该怎么做?
推荐答案
您的问题已在 Twitter 开发人员页面上得到解答.
Your question is already answered on the Twitter Developers page.
要创建时间线,您必须登录 twitter.com 并访问设置页面的小部件部分.在此页面中,您可以看到已配置的时间线列表并创建新的时间线.
To create a timeline you must be signed in to twitter.com and visit the widgets section of your settings page. From this page you can see a list of the timelines you've configured and create new timelines.
- 在 twitter.com 上登录
- 创建新小部件
- widget-id 由 Twitter 提供(您将被重定向到 https://twitter.com/settings/widgets/xxxxxxxxxxxxxxxxxxx/ - xxx 是您的小部件 ID)
- Sign in on twitter.com
- Create a new widget
- The widget-id is provided by Twitter (you will be redirected to https://twitter.com/settings/widgets/xxxxxxxxxxxxxxxxxxx/ - the xxx is your widget-id)
这篇关于twitter api 中的 data-widget-id 是什么?我如何获得数据小部件 ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!