ここではEasyBotterを例としますが、不定期に行うフォロー整理(スパムやフォロワー数稼ぐためだけのフォローをブロックorスパム報告)にて自動フォロー返し機能が働いてないことに気付きました。
最近レンタル中のCORESERVERが不調だったことやGAEの仕様変更の噂をちらほら聞いていたのでその線かと思いつつソースを眺めてみたりもして、普通に調べたらTwitterのAPIの呼び出しURLに変更があり、9日が旧版の期限切れだったようです、多分。
API Documentを参考に。
旧バージョン
function setUpdate($value){
$url = "https://twitter.com/statuses/update.xml";
return $this->_setData($url,$value);
}
function getFriendsTimeline(){
$url = "http://twitter.com/statuses/friends_timeline.xml";
return $this->_getData($url);
}
function getReplies($page = false)
{
$url = "http://twitter.com/statuses/replies.xml";
if ($page) {
$url .= '?page=' . intval($page);
}
return $this->_getData($url);
}
function getFriends($id = null)
{
$url = "http://twitter.com/statuses/friends.xml";
return $this->_getData($url);
}
function getFollowers()
{
$url = "http://twitter.com/statuses/followers.xml";
return $this->_getData($url);
}
function followUser($screen_name)
{
$url = "http://twitter.com/friendships/create/".$screen_name.".xml";
return $this->_setData($url);
}
新バージョン
function setUpdate($value){
$url = "http://api.twitter.com/1/statuses/update.xml";
return $this->_setData($url,$value);
}
function getFriendsTimeline(){
$url = "http://api.twitter.com/1/statuses/friends_timeline.xml";
return $this->_getData($url);
}
function getReplies($page = false)
{
$url = "http://api.twitter.com/1/statuses/mentions.xml";
if ($page) {
$url .= '?page=' . intval($page);
}
return $this->_getData($url);
}
function getFriends($id = null)
{
$url = "http://api.twitter.com/1/statuses/friends.xml";
return $this->_getData($url);
}
function getFollowers()
{
$url = "http://api.twitter.com/1/statuses/followers.xml";
return $this->_getData($url);
}
function followUser($screen_name)
{
$url = "http://api.twitter.com/1/friendships/create/".$screen_name.".xml";
return $this->_setData($url);
}
一応これで動作してるので大丈夫・・・なはずです。