Does anyone know if 3rd party developers can/will create their own Twitter widgets with the new API


#1

First off, I’m not a developer, so I won’t be writing anything myself. But I can imagine that some bright spark somewhere will want to create a twitter widget that uses the new API but has some of the characteristics of the old widgets. If this happens I will keep an eye out to see where and when it happens… but I don’t know how the API works, so it could well be that the thing I’m hoping will happen is impossible. Does anyone know?

By the way, the characteristics of the old widgets I’m most interested in is that they can be quite narrow, to fit into the ‘social bar’ down the right hand side of my site, and that the colours can be customised to harmonise with the rest of my site. I’m not that keen on having a beautifully colour-balanced website thrown off balance by a big white and turquoise twitter box; but more of a problem is that with the new widget, I can’t narrow its width enough to fit into my social bar without it starting to fall apart, the options say that it can be as narrow as 180px, but it clearly isn’t designed for this sort of size.

I could widen the social bar or redesign the website so that instead of a social bar, I have social networking stuff elsewhere, but both of those options would mean reducing the size of the photographs on my site (which as a photographer I am loath to do).

For anyone who is interested to see, the code I am currently using on my website (created with the old API widget creator) is at the bottom.

<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 4,
  interval: 30000,
  width: 235,
  height: 300,
  theme: {
    shell: {
      background: '#E5D2E7',
      color: '#f7991f'
    },
    tweets: {
      background: '#c6976a',
      color: '#ffe7cc',
      links: '#5a1a51'
    }
  },
  features: {
    scrollbar: false,
    loop: false,
    live: false,
    behavior: 'all'
  }
}).render().setUser('wmphoto0co0uk').start();
</script>

The closest I can approximate with the new API is this

<a class="twitter-timeline"  width="235" height="300" data-chrome="transparent" href="https://twitter.com/wmphoto0co0uk"  data-widget-id="329210198549991426">Tweets by @wmphoto0co0uk</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

but it looks horrendous with the transparency, even though every tweet is by the same person, every tweet has my profile picture and details at the top, I see no need for this, it is just pointless repetition of the same information over and over again. Also, I very much do not like the scroll-bar, I prefer not to have one.


#2