54 thoughts to “facebook events widget for wordpress”

  1. Hi! Just wanted to say thanks for coming up with the widget – exactly what I was looking for! I am having a problem, however, that I am hoping you can help me with.

    I have the right app id, page id, secret, etc. since they work for another facebook plugin, but I am not retrieving any events from the facebook page (not a profile, but a page).

    I really think I am successfully connecting to facebook without any problem as there are no errors appearing in the container (which did happen when I pasted the wrong app secret).

    The Facebook page I am trying to pull events from only has 1 or 2 events, and they are in the future.

    Any thoughts? I am using v3.2.1 of wordpress.

    Thanks again for the effort / widget!

      1. http://www.hhptatest.dankirs10w.net/

        I also thought it might not be visible so I changed colors, container height, changed the settings for auto / inherit, even changed the Theme.

        So I turned on debug mode – and am getting an error now – you can still see it at top of website page:

        Warning: Unexpected character in input: ‘\’ (ASCII=92) state=1 in /home/dankirs10w/hhptatest.dankirs10w.net/wp-content/plugins/facebook-events-widget/facebook-events-widget.php on line 144

        I tried deleting the”invalid character” – the ‘\’ – which got rid of the error, but still no Facebook events.

        Thanks again for the help and cool widget !

  2. Hi, great Idea … but i canยดt install it … when i want to aktivate it : Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING in /var/www/vhosts/xxxxxxxx.de /httpdocs/wordpress/wp-content/plugins/facebook-events-widget.php on line 145

    ? Can you help me?

  3. Hello,

    i have the same problem as above…

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING in /var/www/sites/xxxx_com/xxxx.com/subdomains/www/html/wordpress/wp-content/plugins/facebook-events-widget/facebook-events-widget.php on line 145

    can you also help me ?

  4. Hey ๐Ÿ˜‰

    thank you… problem solved!

    but one question more:
    it is possible, to activate the plugin on a site and not only as a sidebar widget?

  5. I have been looking for a plugin like this for over a year! So glad you finally made one. One request that would make this twice as amazing is if you could enable a shortcode to use in pages as well, so not just the widget area. Thanks a million!

  6. Thanks for this app – but I’m having a problem… I guess I’m new to all this, and have no idea where I would find the Facebook App secret for my event?? I didn’t input anything into that field, and I’m assuming that’s why it’s not working?

    Any help would be much appreciated!


    1. that’s a problem with your hosting. other facebook widgets works for you?
      you need to ask your hosting provider about https support in libcurl and php.

  7. Hi, I wonder if you can help me.

    I am wanting to include upcoming events from a facebook fan page on my friend’s band’s website.

    I have installed the app fine, and it appears as a widget, no problems there.

    I have created an app for facebook, and have an app id.

    BUT, how do I get that app to relate to the actual band page that I want to get the event information from? All I have is an empty facebook app.

    Thank you for your time, I have already looked for an answer online.

    1. if the fan page of the band is public you don’t actually need to do anything.
      just facebook requires app id to be able to read information.
      if your fan page is private you do need to allow the app for reading access.
      let me know if that is the case and i’ll mail you a new copy of the widget to try.

  8. Hello and thank you for that neat widget.
    Could you please add an option (target=”_blank”) to open facebook in a new window when clicked?


  9. Hi for some reason all of the dates are correct on one line and then off by a day on the following line. It may also be helpful to note that all of the events are for one day only, however, some have it displayed as if it was a two day event(the June, 30th event at the site below)

    Any idea what I can do to fix it? The page where the widget is located is below.


    Thank you

  10. I am looking for something similar … but not for a WordPress page – instead, just a regular website. Do you happen to know of any widgets already in existence that would allow me to easily create the code to add Facebook events to my website? Thanks for any help.

  11. Hey there,

    How do i retrieve the face app id and secret id, ive tried following instructions but u just cant figure it iut ๐Ÿ™ can anyone help? thanks

  12. Hey there,

    i cant seem to get it to work…can someone provide some help
    i am working with wp v 3.4.2
    Latest version of events plugin 1.1.6

    I am getting the following error:
    “Facebook Events
    Caught exception: Invalid OAuth access token signature.”

    I created a app with my personal facebook id,
    filled in the app id secret key and fanpage id,

    Still getting the same results whats going on?
    Any help with be greadly appreciated,


    1. i dont see you use the events widget, so i dont see the error.
      anyway make sure you use the right fanpage id 114147941950755.
      also try to check errors from the php log file.

  13. Love your plugin. Been using it for years so I only have to update events in one place.

    I was just updating wordpress to 4.2 and all of the plugins and then my site crashed with this error: “parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING” or ‘(‘ in /home/MYUSERNAME/public_html/MYWEBSITE/wp-content/plugins/facebook-events-widget/facebook-events-widget.php on line 46

    Have to delete the plugin folder to get my site to load. I did back it up. Not much for code, but do you have any ideas? Thanks,

    Not too big into code, but I was going to just dele

      1. Not sure which version I had before the update… After I removed the plugin folder, I did try to fresh install 1.9.9, and got the same error when activating:

        Plugin could not be activated because it triggered a fatal error.
        Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(‘ in /home/username/public_html/website.com/wp-content/plugins/facebook-events-widget/facebook-events-widget.php on line 46

        1. Hi Pete,

          The error is because you need PHP 5.4 or up.
          If you can’t move to PHP 5.4 you need to go back to and older version of the plugin. v1.1.x should work.

            1. You are right, this wordpress is actually Running PHP version: 5.2.17. I will contact my host to see why it is running a different version on this domain than my cpanel states. I did get version 1.1.11 running without a hitch. Thank you soo much.

  14. Hey,

    Thanks for your extremely(!) useful widget!
    I am currently managing two differend WordPress pages in one WordPress-Network. After installing your widget, I first tried to activate it for the whole network; after this didn’t work, I activated it just for the first page. There, everything works just fine with no problems. When i try to activate the plugin for the 2nd page as well, WordPress is complaining about potential fatal errors:

    Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(‘ in [PATH]/wordpress/wp-content/plugins/facebook-events-widget/facebook-events-widget.php on line 44

    Any ideas on this? As both sites have the exact same set of other plugins installed and are on the same version of WordPress, I suspect there might be an issue with this network thingy…

    Thanks a lot for your help!

      1. Er, yes, seems as if both pages were running on different php versions. That should not have happened – now everything works fine… Thanks nonetheless!

Leave a Reply

Your email address will not be published. Required fields are marked *