Import tweets as nodes

virme - March 26, 2009 - 21:01
Project:Twitter
Version:6.x-2.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

i am trying to import tweets as nodes. Currently all tweets are stored in a separate table. How could i move them to nodes? I want to apply additional functioanality only when they are nodes.

Anybody could recommend me a way to import tweets as nodes?

thanks

#1

Shai - March 26, 2009 - 21:38

Hi, you don't use the Twitter module for that. You use feedapi: http://drupal.org/project/feedapi

It's very powerful. It's also tricky, with a learning curve (which I myself am on as well). Feedapi is fully integrated with Views, which is very cool.

Good luck, post your problems to the feedapi issue queue.

Shai

#2

doublejosh - October 16, 2009 - 07:01

Great to see some other folks on this path. I've been playing with Feed API for the last 3-4 months, but am just now trying to do some Twitter tie-ins with the Twitter module.

The FeedAPI approach WILL NOT allow you to present avatars from twitter, if you want to get content not from folks on your site.
I'm planning to extend the Twitter module to create nodes. Dealing with this issue too?
(It seems I passed over the XML element. With Feed Mapper I think we're fine.)

Also, how is it allowing the Views module to sort and list things that aren't nodes?

#3

virme - March 26, 2009 - 23:09

Thank you v much. Will look into feedapi.

#4

Summit - June 29, 2009 - 15:49

hi, Problem is that feedapi-nodes can't be used to announce on twitter, so feedapi is not a correct option in this perspective I think.
Greetings, Martijn

#5

Shai - June 30, 2009 - 14:40

Martijn,

Two different solutions for 2 different requirements. The question is about getting tweets to be nodes (and presumably not just tweets that were created on the Drupal site). For that you use feedapi. A separate desire is to post from a Drupal site to Twitter. You can do that with the Twitter module.

Shai

#6

doublejosh - October 16, 2009 - 07:05

Should also post here that SimpleFeed is a great D5 module for aggregation needs beyond core but not quite to level of needing a separate API and going nuts.

 
 

Drupal is a registered trademark of Dries Buytaert.