How to Automatically Post Your Google Calendar Events to Twitter

Get those events tweeted automatically when you create them.

I recently helped a friend set up a new Web site for his small but growing winery. I also set him up with Google Calendar and a WordPress plugin so he could create events and have them appear on his site’s sidebar in a calendar. You can see how this looks at BeaumontCellars.com as well as on one of my sites, FlyingMAir.com.

Although he’s not exactly “computer savvy,” he does do a lot of texting with his iPhone. So I set him up with Twitter and linked his Twitter account to his winery’s Facebook page. He can tweet what’s going on and its automatically posted to his Facebook page’s wall. This has been a huge help for him because it makes it so easy to update Facebook, where he has quite a few fans.

The next logical step was to have his Google Calendar events posted on Twitter so they could also get posted on Facebook. After a little bit of research and experimentation, I came up with this method.

Step 1: Create and Configure Your Google Calendar

The first step is to set up your Google calendar for sharing and copy the link for the calendar’s RSS feed.

  1. If you don’t already have a Google account, set one up and log in.
  2. Go to google.com/calendar. You may have to follow additional instructions to create and access your calendar; just follow the prompts that appear onscreen.
  3. If necessary, create a calendar to share events with Twitter.
  4. Calendar MenuIn the list of calendars on the left side of the window, point to the calendar you want to share and click the menu button that appears. A pop-up menu offers options.
  5. Choose Share this Calendar.

  6. Make PublicIn the page that appears, make sure the check box marked “Make this calendar public” is toggled on.
  7. Click the Calendar Details link.

  8. Calendar AddressScroll down to the Calendar Address area.

  9. Calendar AddressClick the XML button. A Calendar Address dialog pops up with the address for your calendar.
  10. Right-click the link and choose Copy Link from the menu that appears. The link is now in the clipboard so it can be pasted elsewhere.
  11. Close the Calendar Address dialog.

Step 2: Set Up the Feed in TwitterFeed

Next, you’ll set up the calendar’s feed in TwitterFeed.

  1. If you don’t already have a TwitterFeed account, go to TwitterFeed.com to set one up and log in.
  2. In the Feed Dashboard window, click the Create New Feed button. The New Feed screen appears.
  3. Name Feed and Add SourceIn the Feed Name box, enter any name you like for the calendar feed.
  4. Click in the Blog URL or RSS Feed URL box to position the insertion point there and press Command-V (Mac OS) or Control-V (Windows)-V to paste in the calendar address you copied to the clipboard in step 10 above.
  5. Click the test rss feed button. A green message “Feed parsed OK” should appear. (If it doesn’t, you’ll need to make sure the link you copied is correct and try again.)
  6. Make sure the Active Check box is turned on.
  7. Click Advanced Settings to display additional options.
  8. You can set these options as you see fit. My suggestions are as follows:
    • Choose Title from the pop-up menu in the Post Content area. (Remember, tweets are short; the description probably won’t fit within the 140 character limitation.)
    • Make sure the Post Link check box is turned on in the Post Content area.
    • Enter “New Event:” in the Post Prefix box.
  9. Click Continue to Step 2.
  10. In the Feed Publishing screen, click the Twitter link.
  11. Choose Twitter AccountChoose an account under Authenticated Twitter Account or, if the account is not listed, click the Authenticate Twitter button to log into the Twitter account you want to use.
  12. Click the Create Service button. After a moment, the name of your Twitter account appears beside the Twitter link, along with an checked Active check box.
  13. If you wanted to post to other social networking services, you can use their links to set them up.
  14. When you’re finished, click the All Done button.

Step 3: Test

Finally, test to make sure it works as expected.

  1. Go back to your Google Calendar and, if necessary, log in.
  2. Create a calendar event. Be sure to set the date and time and include a description. If you have more than one Google calendar, be sure to assign the event to the calendar you’re sharing with Twitter.
  3. Sign out of Google. You want to be able to check the event and see it as anyone else would.
  4. Tweet
    Monitor your Twitter account. If you did not make any changes to the frequency setting on Twitter Feed, the event should be posted to your Twitter account within 30 minutes.

  5. Event DetailsClick the link in the tweet. A Google Calendar page with the details you set for the event appears in a browser window.

Conclusion

To me, there’s a huge benefit it being able to post something one place and have it appear automatically in others. Using a tool like TwitterFeed to connect Twitter to RSS feeds is a great way to automate Twitter posting for your Web site or business.

Get more from your software.Want to learn more about using Twitter? Learn online at Lynda.com. Recently revised and expanded, my Twitter Essential Training course includes more than three hours of video training material that’ll help you get more out of Twitter. Check it out. If you’re not a Lynda.com subscriber, be sure to visit to try some of the free videos. I think you’ll be hooked.

Triggering Scripts and Automator Actions with iCal

A little-known use for the alarm feature.

I thought I’d written about this somewhere here, but I guess I didn’t. So here it is: a very easy way to trigger scripts and Automator actions on your Mac.

  1. Open iCal.
  2. iCal Event OptionsCreate a new event for the date and time you want the script or action to run.
  3. If the action should be repeated — for example, run every day at the same time — use the Repeat options to set up the frequency.
  4. Choose Open file from the Alarm pop-up menu.
  5. By default, iCal appears in a menu beneath it. Choose Other from that menu and use the dialog that appears to select the script or action you want to run. When you click the Select button, its name appears under Open File.
  6. Set the time option to read 0 minutes before.
  7. Save your settings.

From that point forward, the script or action will run on schedule with no additional effort on your part.

This works in the current version of iCal (part of Leopard) as well as the version that came with Tiger. I don’t know about earlier versions. The screenshot here is from Leopard.

A few bonus tips:

  • If you don’t want these events cluttering up your calendar views, put them in their own calendar and turn off the check box for it in the Calendars list. The events will continue to work, but you won’t have to look at them.
  • Be sure that neither Turn off alarms option is enabled in iCal’s Advanced preferences. If you turn off alarms, this alarm obviously won’t work. If alarms are turned off when iCal is not running, you’ll have to keep iCal running all the time for this alarm to work.
  • iCal 3 (which is part of Leopard) enables you to set multiple alarms for a single event. use this to run multiple scripts or to run the same script multiple times in a day.

Page References

Product ImageMac OS X 10.5 Leopard: Visual QuickStart Guide includes more information about related topics:

  • Adding iCal Events, page 254
  • Setting Event Details (including alarms), pages 255-257
  • Adding Calendars, page 261
  • Using AppleScript and Automator, pages 613-636