Here's a patch to show you (and your friends) twitter messages on your user profile page. A setting on the profile edit page toggles the display on and off. This patch grabs message data from the twitter API by hitting: http://twitter.com/statuses/friends_timeline.xml

Needs theming help, and date wrangling.

Not sure if it fits in here or not.

CommentFileSizeAuthor
twitter_timeline.patch2.37 KBColin Brumelle

Comments

Colin Brumelle’s picture

Status: Active » Needs review
micahw156’s picture

Version: » 5.x-1.x-dev

I gave this patch a quick try. All of the dates appear as December 31, 1969 - 7:59pm, and the HTML (especially the class tags) could use a little tweaking. If I get a chance, I'll take a closer look at the code to see if I can help with it.

I think I might actually want this feature more than the automatic posting that the module was actually designed to do, so you can count me as an up-vote for this patch.

Anonymous’s picture

I have implemented this patch and added it to my site. I cant figure out how to display the content on the profile page. Other than selecting the checkbox on the 'edit profile' page, what else is there I need to do?

mariusooms’s picture

How do I apply or install this patch?

micahw156’s picture

mariusooms,

Check out the page at http://drupal.org/patch/apply for info on applying patches.

mariusooms’s picture

Thanks micah for pointing that out. I successfully patched twitter.module and checked the checkbox in the profile edit view. However, no twitter timeline is being put out. Posting to twitter does work.

Like you and the creator of this patch, I'd like the vice versa approach of having twitter messages shown on the user profile. I tried it with the news aggregator, but that shows twitter rss sidewide for all users, so that idea is out the window. I was hoping this patch using the API would be the best solution. Did you have any luck with it? I'm using the user_profile.tpl.php snippet.

micahw156’s picture

I've actually kind of drifted away from Twitter integration on my Drupal sites. It's just a usage thing for me. My Twitter activity is separate from most of the other stuff I do online. I've kind of been been using Tumblr to aggregate stuff, and created an aggregator block from my Tumblr feed, so I'm not even using the Twitter module any more.

mariusooms’s picture

Okay...that's cool...I actually found the twitter badge, which is a great find as the api is already smoothed out. By allowing users to insert their twitter username in their profile, I'm able to pull it in with no effort.

micahw156’s picture

Status: Needs review » Closed (won't fix)

No activity in over two years on this issue. AFAIK, everything mentioned here works properly in the Drupal 6 version. I'm guessing those changes won't get ported back to the D5 version. Clearing this one off of my open issues list. Apologies in advance to anyone who objects; you're welcome to reopen it if this is still needed for a D5 site.