Archive for openID

bakabot @railstokyo

Rails勉強会@Tokyoで参加して、簡単のバカボット作ってみた。
OpenSocial開発で忙しすぎて、簡単のボットを作るのが早くて楽しかったですね。
おじさんのように大きい声で大文字叫ぶボットです!

次回の勉強会のために@railstokyoをフォローしてください。


require 'rubygems'
require 'twitter'

ACCOUNT_NAME = 'XX' # using plain text login
RTPW = 'XX' # your pw here

httpauth = Twitter::HTTPAuth.new(ACCOUNT_NAME, RTPW)
client = Twitter::Base.new(httpauth)

client.friends_timeline(:count => 30 ).each do |tm|
if tm.user.name != ACCOUNT_NAME then
str = "RT @#{tm.user.screen_name} >> #{tm.text.upcase}"
client.update(str)
end
end

もっとシンプルな確認方法もあります:
curl -u user:pass http://api.twitter.com/1/statuses/friends_timeline.xml

Comments

facebook accounts and controlling your online ID

Ola, my facebook account has been blocked. In case you can’t read the image (trying to login from japan) it says “we decided to block your account. click here for more info”.

fblogin.png

With so many people signing up each day, the false positives are basically collateral damage.

Before this happened I didn’t realize how important controlling your identity was. Facebook is aiming to be some type of identity provider with FB connect. OpenID and other federated standards at least allow you to control your identity independently, and authorize its use.

UPDATE: Facebook has become a relying party for openID. This is a big deal! Most openID supporters want to use openID to propagate their own proprietary login credentials. But a relying party means its a two-way street – you can use another site’s login to be the lynchpin for your facebook identity. This really does show how much faith FB has in openness.

http://developers.facebook.com/news.php?blog=1&story=246

Comments