After upgrading to Twitter module 3.0-beta2 I have noticed that the view handlers for twitter_id, in_reply_to_status_id and in_reply_to_screen_name have been excluded from the newer version.

Is there any specific reason for this?

Ideally, the twitter views should include support for all fields in the twitter table so that users can customize their views as they like.

I was able to get these handlers back by comparing the twitter.views.inc file with the one from version 2.6 and got the relevant lines of code.

Here is the patch I applied to get it working again.

Regards,
KH

Comments

kjholla’s picture

Category: feature » bug

Changing this to a bug report since this relates to functionality which was working earlier in version 2.6 and has been broken in the newer version 3.0-beta2.

Regards,
KH

fonant’s picture

+1, especially the twitter_id column. I'm using this to construct a "reply" link.

At some point a custom handler might be nice, to add a "reply" link to the options in views :)

kjholla’s picture

Version: 6.x-3.0-beta2 » 6.x-3.0-beta4
Status: Active » Needs review
StatusFileSize
new1.3 KB

I am afraid this functionality is still excluded from the latest beta for twitter module.

Attached is a patch I created to re-introduce the functionality.

Would the maintainers consider re-including these view handlers back into the module?

Thanks,
KH

mohammed j. razem’s picture

Title: Twitter 3.x excludes views handlers for twitter_id, in_reply_to_status_id and in_reply_to_screen_name » Add "twitter_id", "in_reply_to_status_id" and "in_reply_to_screen_name" as View fields
Version: 6.x-3.0-beta4 » 7.x-3.x-dev
StatusFileSize
new1.92 KB

This patch is diffed against 7.x-3.x

juampynr’s picture

Status: Needs review » Fixed

Applied and committed Mohammed's patch:

http://drupalcode.org/project/twitter.git/commitdiff/4347f5a89e9299eee26...

Many thanks to everyone.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.