Calendar Module - Unable to load Facebook Birthdays



  • Hey All,

    I’ve setup the Calendar module on the MagirMirror, but I’ve hit a snag. The Facebook Calendar for Birthdays won’t load.

    • Using the same Birthday Calendar URL, I’ve imported the calendar into my Google’s Calendar no problem.

    • I’ve visited the Birthday Calendar URL via Internet Browser and download the ICS file. The ICS file contains the Birthdays from my Facebook.

    • I’ve successfully loaded my Facebook Upcoming Events Calendar with no problem into the Calendar module.

    • If I only try loading the Facebook Birthday Calendar, I receive the “No upcoming events.” message.

    Here is my configuration for the Calendar module.
    http://pastebin.com/ZGWzuQgs

    Any ideas? Could this be a problem caused elsewhere?

    Thanks,
    Rob


  • Moderator

    Your FB Birthdays link is wrong. It’s supposed to be in this form:

    {
        url: 'webcal://www.facebook.com/ical/b.php?uid=YOUR_FB_UID&key=KEY_PROVIDED_BY_FB'
    }
    

    To find that address, follow these steps:

    • On Facebook, click on your Events link (usually from the left hand menu)
    • On the Events page, look at the bottom of the right hand side for the following block of links:
      0_1463979109347_fblinks.png
    • Hover over, and copy the link that reads ‘Birthdays’
    • Paste it in your config.js for MM.

    My config section for that is what you see above and it works just fine.



  • @KirAsh4 said in Calendar Module - Unable to load Facebook Birthdays:

    Your FB Birthdays link is wrong. It’s supposed to be in this form:

    {
        url: 'webcal://www.facebook.com/ical/b.php?uid=YOUR_FB_UID&key=KEY_PROVIDED_BY_FB'
    }
    

    To find that address, follow these steps:

    • On Facebook, click on your Events link (usually from the left hand menu)
    • On the Events page, look at the bottom of the right hand side for the following block of links:
      0_1463979109347_fblinks.png
    • Hover over, and copy the link that reads ‘Birthdays’
    • Paste it in your config.js for MM.

    My config section for that is what you see above and it works just fine.

    I’ve tried the webcal link as well, no luck. I’ve followed the steps you mentioned orignally, but that wasn’t working. I read on another post to try http instead of webcal. Neither work.

    What is really throwing me off is why would Facebook Upcoming Event’s URL work but NOT Facebook Birthday’s URL???


  • Moderator

    Don’t know what to tell you, mine’s working just fine with the webcal address. Have you tried stripping everything and just putting that in, nothing else?


  • Moderator

    Shear curiosity, can you check the console logs, or simply run 'pm2 logs ' and see if there are any helpful messages about the calendar there, specifically the one that’s failing …



  • @KirAsh4 said in Calendar Module - Unable to load Facebook Birthdays:

    Shear curiosity, can you check the console logs, or simply run 'pm2 logs ' and see if there are any helpful messages about the calendar there, specifically the one that’s failing …

    Nothing that looks wrong…
    Logs here: http://pastebin.com/3572PdeE

    The Keys and IDs are exactly the same between my Birthday and Upcoming Events URLs…The Calendar only outputs the Upcoming Events, gahhh

    Here is full config I’m using: http://pastebin.com/hDjMmTfa



  • I’ve got the same issue. Was able import upcoming events but not birthdays.



  • I’ve been playing around with some stuff trying to figure this out and I noticed something…

    Is it possible that my Upcoming Events Calendar is overwriting the Birthday Calendar?? When I download the ICS file from Facebook, both the Birthday and Upcoming Events ICS files have the same name! Named this: “u” + USERID + “.ics”

    Possible that the MagicMirror is pulling down the ICS files, but overwriting each other because of same name?



  • I ran my Facebook Birhtday ICS file through this site: http://severinghaus.org/projects/icv/
    Got this response: http://imgur.com/YW07yKU

    Is this normal?



  • Both my Facebook calendar links are different. Birthdays contains a b.php and events is u.php. Tried birthdays by itself and still didn’t work.


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.