Multiple Drupal users posting on a single Twitter Feed. That was my goal. And here is how I accomplished it.
There are many reasons why somebody would want to do this. My reason...to draw traffic to my client's site.
Things you will need:
- A Drupal 6.x Site
- Drupal Modules:
- A Twitter Account
- A TwitterFeed Account
- A Tweetburner Account or various tinyurl site if you want to include a link back to your site.
Ok, now that you have those up and running here is what I did.
- Made a new node, with automatic nodetitle set to autogenerate and hide title, and no comments.
- Go to Maxlength under admin/settings/maxlength and set your node body length to 117 if you want the entire message plus the tinyurl to show up in the 140 limit in Twitter, otherwise just some other number if you want only part of the message to show in Twitter and then people have to click the link to your site to see the whole thing.
- Set up a new view with a feed and a page display. Make the page display however you want and the feed is just a standard feed.
- Log into your TwitterFeed Account, add a feed and select your options.
- If you are using a url in your twitter make sure to select an appropriate website to generate the url. I went with Tweetburner because it displays your url on its own page...just another place for potential traffic to your site.
- Sign into your Twitter account, make a new entry for your twitter node and volia!
Now you can also syndicate your Twitter feed back into your site instead of making a views page by using the drupal FeedAPI or by using:
<h2 class="twitter-title">Twitter Updates</h2>
Replace the username.json with your username and you are good to go.
As I go along tweaking this whole set up I will leave updates for all to read.