TweetTabs & @Anywhere
This was presented at Devnest 9
Developers of Twitter probably heard of @Anywhere when it was launched at Chirp, it includes componants which will enhanch a web page. Which for twitter increases the engagement for their users. These componants are cool, but hardly anything to get excitited about. @Anywhere contains a fantastic secret underneth it’s hood and thats a fully JS-API. Thats right a method to interface with the Twitter API entirely in JavaScript. This is because @Anywhere provides the means to authenticate a user via OAuth using their new Twitter Connect window.
Authenticated users can achieve a lot more using the API, therefore the JS-API now lets you practically do anything that the regular API can. This is really exciting because it means that i can finally turn TweetTabs into a fully Twitter client built entirely in JavaScript.
Here’s a quick example of how easy it is to post a status update using @Anywhere:
twttr.anywhere(function(T) {
if (T.isConnected()) {
T.status.Update(‘hello world’);
}
});
You can find a lot more information regarding @Anywhere over on the @Anywhere dev page. You can also get a full list of support methods.
TweetTabs
So how does this all fit in with TweetTabs? Quite simply TweetTabs was never quite finished, i always intended it to be a fully Twitter Client and not just the search client that it became, this is because Twitter at the time of writing TweetTabs didn’t support any methods of OAuth through JavaScript. But now it does, so i’ve implemented it.
You can check out a very alpha version (which is my proof of concept) at http://beta.tweettabs.com. Please give feedback, I fully intend on integrating @Anywhere fully into TweetTabs.
Downsides
The real big problem with the JS-API part of @Anywhere is that it is not supported (at all), there is very little documentation and most of it has changed since it was released. So it really is down to trial and error!
Slides
Here are the slides from the talk.




