Support

Home Forums Event Espresso Premium Facebook Integration

Facebook Integration

Posted: December 9, 2013 at 2:40 am


emarienborg

December 9, 2013 at 2:40 am

Hello!

I would like to have our Facebook page automatically updated whenever an event is published. WordPress does this for posts, and I would like the same thing for Event Espresso Events.

Is there currently any way to do this? I have tried searching the EE forums, looking for third party plugins, but with no luck.

Thank you!


Tony

  • Support Staff

December 9, 2013 at 3:51 am

Unfortunately due to Event Espresso 3.X not using true Custom Post Types it isn’t easy.

You could however use the ‘Create a post’ feature to create a WP post that matches the ee event on creation. How are you updating facebook currently?


emarienborg

December 10, 2013 at 3:09 am

That’s how we’re doing it now. But that has a couple of drawbacks. We end up with “duplicate” content, because both the post and the event contains the same text and images. That is confusing for our users (and volunteer admins). Also, only the event page, and not the post, contains the registration form. Which means that the page people arrive at when clicking the link posted to facebook does not contain the registration form, which is also not ideal.


Tony

  • Support Staff

December 10, 2013 at 4:12 am

I agree it is not ideal.

As a work around you could manually add the shortcode [ESPRESSO_REG_FORM event_id=ID] to the posts to display the registration forms, replacing ID with that events specific event ID.

Moving forward EE4 will use true CPTs which will make this process much easier although unfortunately I can not comment on a release date just yet.


emarienborg

December 19, 2013 at 1:27 am

Okay, we’ll just have to wait, then. Our basic need is to have the process automated to leave as little room for user error as possible, so shortcodes are also out of the question.


Josh

  • Support Staff

December 19, 2013 at 1:55 pm

You can also apply Tony’s workaround directly to the event_post.php template too. The $event_id variable will dynamically point to the correct registration form. Shortcodes can be added to the template with the do_shortcode function.

As an aside, you are more than welcome to sign up for Event Espresso 4 alpha access if you’d like to test the next version:

https://eventespresso.com/wiki/alpha-testing-instructions/

The support post ‘Facebook Integration’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso