最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Stream Twitter by search hashtag and then official twitter stream - Stack Overflow

programmeradmin8浏览0评论

How do I go about calling the twitter API in a way similar to

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

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

Share Improve this question edited Jul 31, 2017 at 11:27 Cœur 38.8k25 gold badges206 silver badges278 bronze badges asked Aug 18, 2010 at 19:38 Matthew SniderMatthew Snider 1292 silver badges8 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 6

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

Here's something similar to Duke's:

<script src="http://widgets.twimg./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>
发布评论

评论列表(0)

  1. 暂无评论