トップ «前の日記(2007/10/07 (日) ) 最新 次の日記(2007/10/09 (火) )» 編集 RSS feed

HsbtDiary


2007/10/08 (月) 体育の日 [長年日記]

[Plagger][Twitter][CPAN][Perl]Net::Twitter の仕様が若干変わっていた

いつの間にか Publish::Twitter が動かなくなっていたので何だろうと調べてみると 1.05 から apiurl の指定方法が

NOTICE: As of Net::Twitter 1.05 the default URL has changed from http://twitter.com/statuses to http://twitter.com/ to reflect the expansion of the API outside the /statuses area. If your code was written to Net::Twitter 1.04 or earlier, and you set apiurl, including /statuses in the URL, you will have to remove it. the top level "directory" for the API is now added individually in each method.

ってことらしい。そんなわけで Twitter のステータスを Frepa や wassr に同期する YAML の module: Publish::Twitter の apiurl を

     apiurl: http://www.frepa.livedoor.com/statuses

から、

     apiurl: http://www.frepa.livedoor.com/

と変更して解決。