Reverse Twitter Integration: Posting to Drupal from Twitter

jibbajabba - January 13, 2009 - 22:28

Has anyone done any work to create a module that takes direct messages from a Twitter account and posts them to their Drupal site? I'm thinking about doing something like this to allow my site community to suggest links via Twitter.

Maybe Aggregation

j_ten_man - January 13, 2009 - 23:22

Sounds like you could use the Aggregation Module to accomplish what you want. From what you have explained, I believe it would work.

I was intending to create a

jibbajabba - January 13, 2009 - 23:34

I was intending to create a private Twitter account and read in direct messages only into the account from people I allow to follow (known twitter friends), as a method of preventing spammers. But I wanted to do a little parsing of the included urls so I could do something with the URL, e.g. use it to generate a thumb using bluga thumbs.

Problem with aggregating direct messages is that there would be a feed of those. So I suppose I could just do with replies. Have to figure out how to read in http://twitter.com/statuses/replies.rss in Aggregator, and also considering login/password. This is why I thought it would be easier using API.

I would use Aggregator

alex_b - January 14, 2009 - 14:12

I would use Aggregator module or FeedAPI and pull the RSS feed from Twitter.

You will see that Twitter protects your personal feed with a username and password - include them in the URL of the feed to circumvent the popup dialog:

http://username:password@twitter.com/statuses/friends_timeline/123456789.rss

Twitter: http://twitter.com/lx_barth

Do not do this

gurubert - March 14, 2009 - 13:14

If you add an aggregator feed like this URL your included Twitter password will be shown on the Feed's page.

use FreeMyFeed

nirad - April 3, 2009 - 22:01

-Nirad

subscribing, still not

Summit - July 12, 2009 - 21:14

subscribing, still not knowing the right method to get twitter rss to drupal nodes without using a thrird party.
thanks for your suggestions in Advance!

greetings,
Martijn

Greetings,
Martijn www.trekking-world.com

Alex B more or less summed it

entrigan - September 19, 2009 - 06:04

Alex B more or less summed it up. Use FeedAPI to read in the Twitter RSS feed. Feed API has alot of options for creating nodes and what not, plus a solid api.

However if you are looking for a more temporary light weight way to display twitter items, take a look at something liek http://juitter.com/ http://drupal.org/project/juitter

 
 

Drupal is a registered trademark of Dries Buytaert.