Needs work
Project:
Twitter
Version:
7.x-6.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Nov 2011 at 12:20 UTC
Updated:
19 May 2015 at 18:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
manuel garcia commentedI've changed my mind, and I think the best approach is to provide a new views field to get the user's twitter profile URL.
It can then be used with other fields, image, name, etc to link them to their twitter page, using all the options that views already provides.
The attached patch does that, and it provides a new helper function twitter_profile_url($twitter_screen_name).
Comment #2
juampynr commentedAfter applying the patch, I went to the Tweets list at /user/1/tweets and got the following error:
Please have a look at the patch to see if it misses something.
Comment #3
manuel garcia commentedI've just tested the patch against a fresh checkout of the 6.x-3.x branch, it applies cleanly and I can use the field without any errors.
Note that I'm using views 3 here, but in the sprint I believe I had views 2...
Comment #4
manuel garcia commentedYup, the problem was the patch above only works on views 3.x...
Ive removed the offending modification, which was adding the title attribute to the profile_image handler, which is a different issue anyway.
Find attached the updated patch
Comment #5
juampynr commentedCommitted.
This needs a port for Drupal 7 (7.x-3.x) branch.
http://drupalcode.org/project/twitter.git/commitdiff/476fd71
Comment #6
juampynr commentedChanged status to needs work so a patch for 7.x-3.x can be provided.
Comment #7
cweagansUpdating tags per http://drupal.org/node/1517250
Comment #8
dddave commentedComment #9
damienmckenna