=== XT Event Widget for Social Events == Contributors: xylus,Dharm1025,Rajat1192 Donate link: http://xylusthemes.com/ Tags: facebook events, facebook widget, facebook feed, event calendar, events Requires at least: 6.0 Tested up to: 7.1 Stable tag: 2.0.0 Requires PHP: 7.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Display Facebook events on your WordPress site with beautiful, auto-updating event feeds using the Live Feed Builder. No API key required. == Description == **XT Event Widget for Social Events** is the most powerful WordPress plugin for displaying Facebook events on your website. Whether you run a community page, a business, or a yoga studio — this plugin lets you create stunning, real-time event feeds in minutes. 🚀 **No Facebook API Key Required!** Our intelligent scraping engine fetches events directly — no app creation, no tokens, no hassle. [**🔥 Upgrade to Pro**](https://xylusthemes.com/plugins/xt-facebook-events/) | [**📖 Documentation**](https://docs.xylusthemes.com/docs/facebookevents/) | [**💬 Support**](https://developer.xylusthemes.com/) = 🎯 Live Feed Builder (New!) = Create and manage multiple event feeds with our intuitive visual builder: * **Event IDs Source** — Paste specific Facebook Event IDs to display selected events * **iCal URL Source** — Import events from any Facebook iCal/ICS export link * **Facebook Page Source** — Fetch all events from any public Facebook Page automatically [(Pro)](https://xylusthemes.com/plugins/xt-facebook-events/) * **Facebook Group Source** — Fetch all events from any public Facebook Group automatically [(Pro)](https://xylusthemes.com/plugins/xt-facebook-events/) = 🎨 Beautiful Layouts = Choose from a variety of stunning, responsive layouts: * **Card Grid** — Modern, responsive grid cards with event images, dates, and venue info * **List View** — Clean, classic list layout for a traditional event listing * **Timeline** — Vertical chronological timeline with elegant date markers [(Pro)](https://xylusthemes.com/plugins/xt-facebook-events/) * **Compact List** — Maximum event details packed into a space-saving design [(Pro)](https://xylusthemes.com/plugins/xt-facebook-events/) * **Minimal Grid** — Sleek, minimalistic grid with subtle hover effects [(Pro)](https://xylusthemes.com/plugins/xt-facebook-events/) * **Ticket List** — Specialized layout highlighting ticket info and event dates [(Pro)](https://xylusthemes.com/plugins/xt-facebook-events/) * **Masonry** — Dynamic, Pinterest-style staggered grid layout [(Pro)](https://xylusthemes.com/plugins/xt-facebook-events/) = ⚙️ Powerful Features = * **Gutenberg Block** — Embed event feeds directly from the WordPress Block Editor * **Advanced Date Filters** — Show today's, this week's, this month's, upcoming, or custom date range events * **Hide Online Events** — Filter out virtual/online events from your feed * **Configurable Pagination** — AJAX load-more or numbered pagination with customizable events per page * **Smart Caching** — Set your own cache duration (minutes) to balance freshness vs. performance * **Auto Background Sync** — Events and HQ images are fetched in the background without slowing down your page * **High-Quality Images** — Automatically fetches full-resolution cover photos for every event * **Location & Venue Data** — Displays venue name, address, and coordinates scraped from Facebook * **Organizer Details** — Shows event creator/organizer name with link * **Responsive Design** — Looks great on desktop, tablet, and mobile * **Custom CSS** — Add your own CSS per feed for full design control * **Shortcode Support** — Use `[xtfeprofeed id="FEED_ID"]` anywhere on your site * **Legacy Widget Support** — Classic WordPress widget for sidebars and footers * **Legacy Shortcode** — `[wpfb_events page_id="YOUR_PAGE_ID" max_events="10"]` still supported [(Pro)](https://xylusthemes.com/plugins/xt-facebook-events/) = 🔌 Facebook Embeddable Page Widget = Two easy ways to display Facebook's official embeddable page widget: * **Shortcode:** `[fb_event_widget page_url="https://www.facebook.com/redbull/" width="340" height="500" hide_cover="false" hide_cta="true" small_header="true"]` * **WP Widget:** Use the "Facebook Page Event Widget" from the WordPress widget area = 🔑 Facebook App Authentication (Optional) = For the legacy widget that uses the official Facebook Graph API: * Connect your Facebook account with one click — no manual app creation needed * Or create your own Facebook App for full control ([How to create a Facebook App](http://docs.xylusthemes.com/docs/import-facebook-events/creating-facebook-application/)) * Your site must use HTTPS (SSL certificate) = ⭐ Pro Features = Unlock the full potential with [**XT Facebook Events Pro**](https://xylusthemes.com/plugins/xt-facebook-events/): * **Facebook Page Source** — Automatically scrape all events from any public Facebook Page * **Facebook Group Source** — Automatically scrape all events from any public Facebook Group * **5 Additional Layouts** — Timeline, Compact List, Minimal Grid, Ticket List, and Masonry * **Legacy Grid Shortcode** — Beautiful responsive event grid via shortcode * **Gutenberg Block Shortcode** — Enhanced block editor support * **Activity Logs** — Track all API calls, image fetches, and errors in a detailed log viewer * **License & Updates** — Automatic updates and priority support * **Background Pagination** — Silently fetches all event pages in the background for large event lists [**👉 Get Pro Now**](https://xylusthemes.com/plugins/xt-facebook-events/) = 🔗 Our Other Plugins = * [WP Bulk Delete](https://wordpress.org/plugins/wp-bulk-delete/) — Delete posts, pages, comments, users, taxonomy terms, and meta fields in bulk using powerful filters and conditions. * [Easy Events Calendar](https://wordpress.org/plugins/xylus-events-calendar/) — Create and manage events with ease using a simple and powerful WordPress event calendar. * [WP Event Aggregator](https://wordpress.org/plugins/wp-event-aggregator/) — Import Facebook, Eventbrite, Meetup, iCalendar (ICS), and other event sources into your WordPress Event Calendar. * [Import Social Events](https://wordpress.org/plugins/import-facebook-events/) — Import Facebook events into your WordPress website or event calendar with beautiful shortcode and widget displays. * [Import Eventbrite Events](https://wordpress.org/plugins/import-eventbrite-events/) — Import Eventbrite events into your WordPress website or event calendar with shortcode and widget support. * [Import Meetup Events](https://wordpress.org/plugins/import-meetup-events/) — Import Meetup.com events into your WordPress website effortlessly. * [Event Schema / Structured Data](https://wordpress.org/plugins/event-schema/) — Automatically generate JSON-LD Event Schema markup for Google Rich Results and improved SEO. * [WP Smart Import](https://wordpress.org/plugins/wp-smart-import/) — Import CSV files into WordPress posts, pages, and custom post types with advanced mapping options. * [XT Feed for LinkedIn](https://wordpress.org/plugins/xt-feed-for-linkedin/) — Automatically share WordPress posts to LinkedIn and expand your content reach with one click. == Screenshots == 1. **Front-end: Grid View** – Display events in a modern, responsive grid layout. 2. **Front-end: List View** – A clean, classic list view for displaying upcoming events. 3. **Front-end: Masonry View (Pro)** – Create a dynamic, Pinterest-style masonry layout. 4. **Front-end: Minimal List (Pro)** – A sleek, space-saving minimal list design. 5. **Front-end: Compact List (Pro)** – Display maximum event details in a compact format. 6. **Front-end: Timeline View (Pro)** – Showcase events beautifully in a vertical chronological timeline. 7. **Front-end: Ticket View (Pro)** – A specialized view highlighting event tickets and dates. 8. **Feed Dashboard** – Manage all your live event feeds from one central list. 9. **Multiple Sources (Pro)** – Fetch events seamlessly from Facebook Pages, Groups, Event IDs, or iCal links. 10. **Multiple Layouts** – Choose from a variety of stunning layouts with real-time hover previews. 11. **Advanced Filters** – Filter your events by past, upcoming, or specific date ranges. 12. **Feed Settings** – Customize pagination, event limits, cache duration, and more. 13. **Global Settings & Auth** – One-click Facebook login and global display configurations. 14. **Gutenberg Block Ready** – Create and configure Facebook event feeds directly inside the WordPress Block Editor. 15. **Front-end: Gutenberg Block Display** – Display your Facebook event feeds beautifully on the front-end using the Gutenberg Block. 16. **Backend: Widget Setup** – Easily configure the legacy widget from the WP widget area. 17. **Front-end: Widget Display** – Clean event widget display for your sidebars or footers. 18. **Legacy Shortcode Manager** – Manage all your older shortcodes efficiently. 19. **Legacy Shortcode: Style 1** – Default styling for the legacy shortcode. 20. **Legacy Shortcode: Style 2** – Alternative layout styling for the legacy shortcode. == Installation == = Install from WordPress Dashboard = 1. Log in and navigate to **Plugins → Add New**. 2. Search for **"XT Widget for Facebook Events"**. 3. Click **"Install Now"** and then **"Activate"**. 4. Go to **Facebook Events → Live Feeds** to create your first event feed. = Manual Installation = 1. Download the plugin from WordPress.org. 2. Unzip and upload the `xt-facebook-events` folder to `/wp-content/plugins/`. 3. Activate the plugin from the **Plugins** screen. 4. Navigate to **Facebook Events → Live Feeds** to get started. = Quick Start = 1. Click **"Add New Feed"** from the Live Feeds page. 2. Choose your event source (Event IDs, iCal URL, or Page/Group ID with Pro). 3. Select a layout and configure display settings. 4. Publish the feed and copy the shortcode or use the Gutenberg block. == Frequently Asked Questions == = Do I need a Facebook API key? = No! The Live Feed Builder uses an intelligent scraping engine that works without any API keys or Facebook app setup. The legacy widget method still supports optional Facebook App authentication. = What event sources are supported? = The free version supports **Event IDs** and **iCal URL** sources. The [Pro version](https://xylusthemes.com/plugins/xt-facebook-events/) adds **Facebook Page ID** and **Facebook Group ID** sources for automatic event fetching. = Can I display events from a Facebook Group? = Yes, but this requires the [Pro add-on](https://xylusthemes.com/plugins/xt-facebook-events/). With Pro, simply paste your Group URL or ID and the plugin will automatically fetch all upcoming events. = How many layouts are available? = The free version includes **Card Grid** and **List View**. The [Pro version](https://xylusthemes.com/plugins/xt-facebook-events/) adds **Timeline**, **Compact List**, **Minimal Grid**, **Ticket List**, and **Masonry** layouts — 7 layouts total. = Will events update automatically? = Yes! Events are cached for the duration you configure (default: 24 hours). When the cache expires, fresh events are fetched automatically. You can also manually clear the cache from the feed settings. = Does it work with Gutenberg? = Absolutely! Use the **XT Facebook Events Feed** block to embed any feed directly in the block editor with a simple dropdown selector. = Can I hide online/virtual events? = Yes. Each feed has a "Hide Online Events" toggle in the Filters tab that automatically detects and hides virtual events (including multi-language detection). = Is the plugin GDPR compliant? = The plugin fetches public event data from Facebook and caches it on your server. No user tracking or third-party cookies are used. Event data is displayed directly from your WordPress database cache. == Changelog == = 2.0.0 = * ADDED: Advance Facebook Feed (Widget). * IMPROVEMENTS: Enhanced security with PHPCS compliance and proper nonce verification. * IMPROVEMENTS: Redesigned the admin dashboard with a modern and intuitive user interface. = 1.1.9 = * IMPROVEMENTS: Updated Facebook API version to v24.0 * IMPROVEMENTS: Added compatibility support for WordPress 7.0 = 1.1.8 = * ADDED: Widget View Shortcode * IMPROVEMENTS: Improved security and compatibility with WordPress coding standards. * IMPROVEMENTS: Support for WP 6.8 = 1.1.7 = * IMPROVEMENTS: Text changed and Added Feedback from the header = 1.1.6 = * IMPROVEMENTS: Updated Facebook API version to v19.0 * IMPROVEMENTS: Added Support for PHP 8.3 and some design and security fixes. = 1.1.5 = * ADDED: Event New Grid View Layout. ( PRO ) * ADDED: Responsive grid view style 1 Support. * IMPROVEMENTS: Facebook App Authentication ( Connect Facebook Account Without Creating App ). * IMPROVEMENTS: Support for WP 6.3 = 1.1.4 = * ADDED: Support and Docs link in plugin list page * IMPROVEMENTS: Gutenberg Block * IMPROVEMENTS: Support for WP 6.2 = 1.1.3 = * ADDED: Localized Date lables. * IMPROVEMENTS: Updated to Facebook API Version 7.0 * FIXED: few pages were not fetching events issue. * FIXED: showing past events for /me page id issue. = 1.1.2 = * ADDED: Recurring Events Support * ADDED: Accent color settings * IMPROVEMENTS: Some Code imporvements. * FIXED: Some bug fixes. = 1.1.1 = * ADDED: Clear Cache button for manually clear cache. * IMPROVEMENTS: Reduced Cache TTL. * IMPROVEMENTS: Some Code imporvements. * FIXED: Some bug fixes. = 1.1.0 = * ADDED: Facebook Authorization for make custom Facebook widget working. * ADDED: support for WP 5.0 * ADDED: Gutenberg Block for Facebook Events. * IMPROVEMENTS: Add caching support for events. * IMPROVEMENTS: Some Code imporvements. * FIXED: Some bug fixes. = 1.0.2 = * ADDED: Support for Facebook events using Page widget (Facebook's Embeddable page widget) * ADDED: Shortcode for Facebook Page widget example: [fb_event_widget page_url="https://www.facebook.com/redbull/" width="340" height="500" hide_cover="false" hide_cta="true" small_header="true"] * ADDED: WP Widget for Facebook Page widget * FIXED: Some bug fixes. = 1.0.1 = * FIXED: Some bug fixes. * FIXED: Wrong Time Display (Timezone Error) issue. = 1.0.0 = * Initial Version.