MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Calendar Module - Unable to load Facebook Birthdays

    Scheduled Pinned Locked Moved Solved Troubleshooting
    29 Posts 7 Posters 23.5k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      robbythedude
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • KirAsh4K Offline
        KirAsh4 Moderator
        last edited by

        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.

        A Life? Cool! Where can I download one of those from?

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          robbythedude @KirAsh4
          last edited by robbythedude

          @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???

          1 Reply Last reply Reply Quote 0
          • KirAsh4K Offline
            KirAsh4 Moderator
            last edited by

            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?

            A Life? Cool! Where can I download one of those from?

            1 Reply Last reply Reply Quote 0
            • KirAsh4K Offline
              KirAsh4 Moderator
              last edited by

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

              A Life? Cool! Where can I download one of those from?

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                robbythedude @KirAsh4
                last edited by

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

                Shear curiosity, can you check the console logs, or simply run 'pm2 logs <YOUR_MM_PROCESS>' 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

                1 Reply Last reply Reply Quote 0
                • S Offline
                  squidsmarks
                  last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    robbythedude
                    last edited by

                    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?

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      robbythedude
                      last edited by

                      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?

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        squidsmarks
                        last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy