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.
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.
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.
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.
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:
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.
Support forum for Event Espresso 3 and Event Espresso 4.