通过搜索主题标签和官方 Twitter 流来流式传输 Twitter

发布于 2024-09-14 18:57:57 字数 315 浏览 2 评论 0原文

如何以类似于 http://socialmedia.duke.edu/# 的方式调用 twitter API Stayconnected

我们正在寻求做同样类型的事情。我无法弄清楚代码中调用 Twitter 的内容是什么。

我可以提供您需要的任何详细信息。我正在使用 Wordpress,但此时仅在页面中使用 HTML。

那么我如何查看主题标签搜索所述 Twitter 帐户,然后查看所述帐户的实际推文

How do I go about calling the twitter API in a way similar to http://socialmedia.duke.edu/#stayconnected

We are looking to do the same type of thing. I cannot figure out what is calling to twitter though in the code.

I can supply any needed details that you would need. I am using Wordpress but just using HTML in a page at this moment.

So how do I see the hashtag searches for said twitter account, and then the actual tweets by said account

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

东京女 2024-09-21 18:57:57

bluedevils您只需要使用 Twitter 的免费 javascript API 小部件。使用向导非常简单:
http://twitter.com/goodies/widgets

这是与杜克大学类似的内容:

<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 8,
  interval: 6000,
  width: 700,
  height: 300,
  theme: {
    shell: {
      background: '#ffffff',
      color: '#b364b3'
    },
    tweets: {
      background: '#ffffff',
      color: '#ffffff',
      links: '#338012'
    }
  },
  features: {
    scrollbar: false,
    loop: false,
    live: true,
    hashtags: true,
    timestamp: true,
    avatars: true,
    behavior: 'default'
  }
}).render().setUser('bluedevils').start();
</script>

bluedevilsYou just need to use Twitter's free javascript API widget. It's very easy to use the wizard:
http://twitter.com/goodies/widgets

Here's something similar to Duke's:

<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 8,
  interval: 6000,
  width: 700,
  height: 300,
  theme: {
    shell: {
      background: '#ffffff',
      color: '#b364b3'
    },
    tweets: {
      background: '#ffffff',
      color: '#ffffff',
      links: '#338012'
    }
  },
  features: {
    scrollbar: false,
    loop: false,
    live: true,
    hashtags: true,
    timestamp: true,
    avatars: true,
    behavior: 'default'
  }
}).render().setUser('bluedevils').start();
</script>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文