I've got AS 6.x-1.x installed and configured for delicious and twitter. Delicious works fine. Twitter doesn't. None of my Tweets are retrieved.

I spent some time trying to debug and while I don't have a patch to offer, I have an interesting observation or two.

The bottom line seems to be that SimplePie doesn't like the Twitter feed that AS is going after. The $feed is retrieved, but has no items.

When I manually overrode the feed URL from the one AS uses to the one I see on my twitter page (user ID vs username), the items are created just fine.

// sbc debug
if ($user->feed == "http://twitter.com/statuses/user_timeline/samcharrington.rss") {
  $user->feed = "feed://twitter.com/statuses/user_timeline/4579901.rss";
}

Any ideas?

Comments

akalsey’s picture

This is a bug on Twitter's end. They're returning a blank feed. http://simplepie.org/blog/2008/08/16/twitter-bug/

akalsey’s picture

Status: Active » Closed (won't fix)
samc’s picture

Thanks.

Just adding the money quote from the simplepie blog, in case s/one else needs it:

I’ve notified Twitter of the issue, so hopefully it will be fixed soon. In the meantime, if Twitter support is critical between now and whenever they fix this bug, you can temporarily workaround this issue by editing version 1.1.1 of simplepie.inc and comment out 4 lines (1583-1586).

I haven't pulled up the code yet, but anyone making this change should expect higher network/server load and might not want to do it on a production box.