diff options
author | Zach Copley <zach@status.net> | 2010-12-17 15:57:22 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-12-17 15:57:22 -0800 |
commit | 073f3e99cb5be798ab020eeedb28357b51f2e90f (patch) | |
tree | 00ac8617cef2ffc594725f9c59edfb63f8e7c2de /plugins/TwitterBridge/scripts | |
parent | 786250e3d9d10dac56f4649e5c4cf8e02fc71570 (diff) |
Update Twitter calls to use documented API endpoints
see: http://groups.google.com/group/twitter-api-announce/msg/34b013f4d092737f
Diffstat (limited to 'plugins/TwitterBridge/scripts')
-rw-r--r-- | plugins/TwitterBridge/scripts/initialize_notice_to_status.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TwitterBridge/scripts/initialize_notice_to_status.php b/plugins/TwitterBridge/scripts/initialize_notice_to_status.php index d1acfd53f..f4a60c479 100644 --- a/plugins/TwitterBridge/scripts/initialize_notice_to_status.php +++ b/plugins/TwitterBridge/scripts/initialize_notice_to_status.php @@ -44,7 +44,7 @@ $n->query('SELECT notice.id, notice.uri ' . 'AND notice_to_status.status_id IS NULL'); while ($n->fetch()) { - if (preg_match('#^http://twitter.com/[\w_.]+/status/(\d+)$#', $n->uri, $match)) { + if (preg_match('/^http://twitter.com(/#!)?/[\w_.]+/status/(\d+)$/', $n->uri, $match)) { $status_id = $match[1]; Notice_to_status::saveNew($n->id, $status_id); } |