WordPress的插件Thread Twitter很久没有更新自己的Tweets了。进入管理界面发现Thread Twitter可以由Twitter正确读取数据,但是不能更新自己的Tweets和回复页。在开发博客上发现以下信息:
……因为 Twitter 用户发展过快,发帖也过快,Tweet 的 ID 已经是超过了 2147483647,而32位服务器中 MySQL 的 INT 最大值为 2147483647,所以 Thread Twitter 的数据库设计无法满足 Twitter 的要求了……
因此在0.61版将所有id字段变更为BIGINT类型。凡是在0.61版本之前安装Thread Twitter的用户都会受到影响。解决方法如下:
ALTER TABLE `wp_threadtwitter_users` CHANGE `id` `id` BIGINT( 80 ) NOT NULL
ALTER TABLE `wp_threadtwitter` CHANGE `id` `id` BIGINT( 80 ) NOT NULL
ALTER TABLE `wp_threadtwitter` CHANGE `in_reply_to_status_id` `in_reply_to_status_id` BIGINT( 80 ) NOT NULL DEFAULT ’0′
ALTER TABLE `wp_threadtwitter` CHANGE `in_reply_to_user_id` `in_reply_to_user_id` BIGINT( 80 ) NULL DEFAULT NULL
ALTER TABLE `wp_threadtwitter` CHANGE `user_id` `user_id` BIGINT( 80 ) NOT NULL

Twitpocalypse!!!
[回复]