8月 18 2009

GadgeTweetr: The first and ultimate Twitter client on OpenSocial using OAuth

Published by Eiji under OAuth, OpenSocial

GadgeTweetr_Logo

goo Home just launched its Outbound OAuth support from today. Now, any gadget developers on goo Home can easily mash up external contents authorized using OAuth.

For demonstration purpose, I’ve developed a gadget, which I believe is the world’s first Twitter client on OpenSocial using OAuth, called “GadgeTweetr“. GadgeTweetr is simple, but powerful, even on comparing to other desktop Twitter clients.

Major features

  • OAuth Login
  • Tabs
  • Show In-Reply-To
  • Search
  • Multi-account

OAuth Login

With support of OAuth, GadgeTweetr can let users login to Twitter without giving credentials to goo Home. Just by clicking “Login” button, a new window opens with clear indication that the browser is showing page on twitter.com, users can login to Twitter safely without worrying this is phishing.

login_using_oauth

Tabs

Using OpenSocial tabset feature, GadgeTweetr provides view of various status pages like some other Twitter clients do. Timeline, Mentions, Direct Message, Favorites, etc.

tabs

Show In-Reply-To

If the status is in-reply-to someone, GadgeTweetr shows “reply to:” beside its date. Clicking it will insert source status just blow that, so that you can drill down (up?) to the original tweet.

replies

Search

You can search on Twitter. GadgeTweetr opens search result tab.

search

Multi-account

User can embed multiple copies of GadgeTweetr gadgets on goo Home’s home page with different authentications. So you have multiple Twitter accounts in one view!

multi-account

Misc features

3 views

GadgeTweetr has 3 views: home, profile and canvas. Home view provides Timeline, Mentions tabs, profile view provides its owner’s timeline, canvas view provides Timeline, Mentions, Direct Message, Favorites tabs as default.

Auto link

GadgeTweetr detects @ and # and hyper link it, as well as external link. External link will open new window. @ and # opens new tab in GadgeTweetr showing respective status.

ReTweet

By clicking ReTweet button, you can tweet copy of your favorite status message with indication of ReTweet: “RT”. Of course, you can add your comment just as you do on your own tweet.

Show profile

Clicking thumbnail of a user shows profile dialog with description of the person, numbers of friends, followers, tweets.

Follow, unfollow

On profile dialog, you can even follow or unfollow the user depending on your relationship with the user.

Summary

So, this is the “GadgeTweetr”. Sorry but this gadget only works on goo Home for now, since I don’t know any other containers which supports OAuth properly designed to deploy this kind of gadget.

However, this gadget is already supporting English and is ready to serve to other containers. Although current version is just a plain Twitter client, I’m planning to implement more SOCIAL functionality as well.

Hope this helps the evolution of social web!

View Comments add to hatena hatena.comment (12) add to del.icio.us (0) add to livedoor.clip (2) add to Yahoo!Bookmark (1) Total: 15

6月 27 2009

Fooprints gadget updated

Published by Eiji under FriendConnect, Google

I’ve got a lot of feedback since SocialWeb Blog introduced my Fooprints gadget. So here’s 2 updates I made to the Footprints gadget.

Configuring number of Footprints

{ id: 'div-1231298385220',
'view-params': {
'maxDisplay': '15'
},
url:'http://gadgets.agektmr.com/Footprints/friendconnect.xml',
site: '00268510882932422418'},

The number of footprints on this gadget used to be forced to be 10. By this update, you can configure the number by adding “view-params.maxDisplay”. The number must be between 3 and 20.

Configuring the skin

var skin = {};
skin['BORDER_COLOR'] = '#cccccc';
skin['ENDCAP_BG_COLOR'] = '#e0ecff';
skin['ENDCAP_TEXT_COLOR'] = '#000000';
skin['ENDCAP_LINK_COLOR'] = '#0000cc';
skin['ALTERNATE_BG_COLOR'] = '#ffffff';
skin['CONTENT_BG_COLOR'] = '#ffffff';
skin['CONTENT_LINK_COLOR'] = '#0000cc';
skin['CONTENT_TEXT_COLOR'] = '#333333';
skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
skin['CONTENT_HEADLINE_COLOR'] = '#000000';

You can now change colors of the gadget. Initial code copied from GFC site should include skin parameters. You can just change them to take effect.

BG_COLOR: Background color over all
FONT_COLOR: Font color
CONTENT_HEADLINE_COLOR: Header font color
ENDCAP_TEXT_COLOR: Footer font color
ALTERNATE_BG_COLOR: Footprint background color

Hope you enjoy this gadget even more than before!

View Comments add to hatena hatena.comment (0) add to del.icio.us (0) add to livedoor.clip (0) add to Yahoo!Bookmark (0) Total: 0

6月 26 2009

Footprints gadget featured on SocialWeb Blog

Published by Eiji under FriendConnect, Google

I’ve developed Footprints gadget for Google FriendConnect in Jan 2009.

Footprints gadget used to be used by some of my friends, people who’ve happened to visit this blog. But when Google FriendConnect gadget gallery emerged, I’ve posted the gadget and they’ve accepted.

After a while, a Google guy gave me an email asking to feature it on Social Web Blog. And here’s the post.

Social Web Blog: See who’s visiting to your site with Footprints gadget

Actually, this gadget is Japanese and English compatible. Google say i18n which used to work will be back sometime. Then, you can use the gadget in Japanese too.

If you want to use this gadget, please utilize Google FriendConnect on your blog. It’s pretty easy!

View Comments add to hatena hatena.comment (0) add to del.icio.us (0) add to livedoor.clip (0) add to Yahoo!Bookmark (0) Total: 0

10月 20 2008

Orkutアプリのソースコードを覗くブックマークレット

Published by Eiji under Service

OpenSocial-Japanのメーリングリストで出した小ネタを貼っておきます。

OpenSocialアプリ(ガジェット)はiframe内に表示されているのですが、iframeタグのsrc属性に含まれるURLのquery部分に、実はソースコードとなるXMLのURLが書いてあります。 このブックマークレットを使えば、ワンクリックでソースコードを開くことができます。

Open Orkut Gadget XML

↑上記をブックマークレットとして保存し、Orkutアプリを表示した状態でクリックすると、ソースコードのページが新規ウィンドウで開きます。 (複数表示されている場合は、一番上のアプリのソースコードが開きます)

※Firefoxでしか動作確認してないので、動かなかったら教えてください。

View Comments add to hatena hatena.comment (1) add to del.icio.us (0) add to livedoor.clip (1) add to Yahoo!Bookmark (0) Total: 2

6月 03 2008

OpenSocialコンテナの対応状況を調べるガジェット

Published by Eiji under OpenSocial

OpenSocialコンテナにもOrkut, hi5, MySpaceだけでなく、iGoogle, hyves, Netlogなどが登場してきました。

それぞれのSNSには特徴がありますが、仕様をいちいち調べたり、開発に当たって動作確認を行うのは面倒です。現在OpenSocial v0.8は登場したばかりということもあり、ほとんどがv0.7対応のものですが、v0.7への対応状況を確認できるガジェットというのがあります。

http://opensocial-resources.googlecode.com/svn/tests/trunk/compliancetests.xml

これで開発も少しは楽になるのではないでしょうか。

View Comments add to hatena hatena.comment (2) add to del.icio.us (0) add to livedoor.clip (0) add to Yahoo!Bookmark (0) Total: 2

Next »