Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Facebook to Google Calendar
Add Facebook events to your Google Calendar effortlessly. (Last updated: July 12th 2008)
There's a script that I've been waiting on for a while, but nobody thought to make it. Therefore, I took it into my own hands and created the Facebook to Google Calendar Greasemonkey Script.
If you have any problems, let me know! Try turning off your other facebook GM scripts and see if anythings conflicting. Also, check the Javascript Error Console in Firefox (Tools->Error Console) to see if it gives you any errors.
What does it do?
This script adds an "Add to Google Calendar" button in the right hand bar.
Changelog:
July 12th, 2008 - v1.9.0: Rewrote the traversing using JQuery. SHould be more reliable. Not version 2.0 yet, because there's still a few bugs, but at least it works again.
June 16th, 2008 - v1.5.2: Change to the @include syntax, to support Facebook's new fragment identifiers.
June 4th, 2008 - v1.5.1: Fixed again. Thanks to Andrew Lowe for not only informing me, but doing the fix himself!
May 6th, 2008 - v1.5: Fixed after Facebook Chat broke it.
May 25th, 2007 - v1.4: Button move to the right side, under the "Share" and "Export" links. The work for this update was done by Richard Lainchbury (See comments). Thanks Richard!
May 25th, 2007 - v1.3: Fixed the street names! This is especially useful for mapping the location and also,if you get gcal to text message your events to you, having the full address on hand when you go out to your event. Also, some small syntax changes.
May 14th, 2007 - v1.2.7: Some tiny changes with the code. If it was acting odd for you before, this may fix it.
May 4th, 2007 - v1.2.5: Events now open a new window (or, for most of us, tab). Thanks to Zack for the suggestion.
May 1st, 2007 - v1.2: Changed the way the script handles time. No more timezones!
April 12th, 2007 - v1.1: Updated to work with new Facebook interface.
Known Issues:
- Quotation Marks in the title make it go wonky.
- Quotation Marks in the title make it go wonky.
Future:
I'm currently overloaded with projects, but here's what you can expect from the upcoming version of the script:
- Better GET support. Rather than stringing a url together, the script will make a proper call. Perhaps a method change in the future?
Thanks to:
Andrew Lowe for writing the update in version 1.5.1
Richard Lainchbury for writing the update in version 1.4
Michael Seiler for his suggestion of button placement and for offering users an alternate version
Zack for the suggestion of opening a new tab
|
|
The title of the event is not working: please change line 87 from
|
|
|
I made a few modifications to make it work for me, but they were specific to me. I know that what I did didn't affect my problem On any page where this is loaded, all of the new facebook dropdown menu stuff doesnt work anymore. |
|
|
Yeah, not sure man, i've got a number of add-ons for Firefox, but unfortunately i know next to nothing about this kind of thing so not sure what else to say with it... |
|
|
Brendan - that raises some questions, significantly why a JScript compiler is running at all inside Firefox? This is working fine for me right now (new Facebook layout too). I would suggest you've got something screwy going on with your setup there. Some other plugin perhaps? |
|
|
Hi, looks like a great tool, just getting an error that says, among other things: Line: 55
Any thoughts? Thanks! |
|
|
thanks! it's working again. great job. |
|
|
Still have some issues adding events. The event name always comes up as "undefined" instead of the title of the event. The "where" only displays the city/town. Could that be changed to Location and city/town? And can you display all the event details on separate lines followed by a URL to the original facebook event link? |
|
|
teraysay: Go to an event page on Facebook - you will now have an "Add to GCal" button next to your "Export" and "Share" buttons. That's what this script does. |
|
|
i'm new to this-- i downloaded greasemonkey and then went to http://userscripts.org/scripts/source/8294.user.js, clicked "install"--- now what? i don't see facebook synching with my google calendar--- any step by step instructions for idiots? |
|
|
Ha ha! I originally programmed this before I knew javascript, and the massive DOM traversing has been making me sick forever. |
|
|
Great, thanks! Using jQuery instead of that massive DOM statement? Sensible :D |
|
|
Fixed. |
|
|
hey, this was a good script, but for about a week now it hasn't been working. anyone else can confirm? |
|
|
I'm getting the same error as NViktor, "date is undefined" and hence it is not working. Any solutions? |
|
|
I'm also getting the 'date is undefined' errors, and as such the script doesnt work. (Firefox 3 final) |
|
|
Or just use www.fbcal.com ??? |
|
|
Thanks for the heads up. I'm trying to recreate the problem, but the script is still working for me. Even if I can't get it, there a new, completely revamped version on the way. Check back by the end of the week for a surprise. Peter |
|
|
I just updated and it doesn't work for me, I get this error on the error console:
The script header says it's ver 1.5, but so does the script source on the site, so I assume the upgrade went well. |
|
|
Not currently working for me :/ |
|
|
For anyone subscribed to the RSS of the comments, there's a new fix, thanks to PC Maho. I hope you enjoy! |
|
|
Is this broken again? I get an error on line 177, "date is undefined" Edit: Yes, Maho's works though :) Thanks Maho! |
|
|
Hey, thanks for the update Maho. it works fine now. |
|
|
I love your script. I love it so much I fixed it :-) Facebook added a an unexpected div. Here is the edited version. works great for me. EDIT: fix added to 1.5.1 If it works for you, feel free to update this page. Keep up the good work! |
|
|
I can't get the link to appear. I turned off all my other facebook scripts and made sure that this script was running, but still no luck. What might be the problem? |
|
|
I'm sure this is a good script for someone who doesn't want all of their Facebook events in their GCal, but there is a method for getting all of them in automatically: 1. Go to the Events page.
The downside is that this gets every event that you have said yes or maybe to, so it can get crowded, but you can always copy the events you always want displayed to your personal calendar and turn off the Facebook calendar from displaying. |
You could comment on this script if you were logged in.
