From ba1e1ccf869b818f7a7a897264dfea05563a7796 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 07 Jun 2026 20:10:20 +0000
Subject: [PATCH] =Major overhaul of Integrations. Playing around with adding fields to post types through Registrar from an integrations' class file.
---
inc/integrations/Facebook.php | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/inc/integrations/Facebook.php b/inc/integrations/Facebook.php
index 197ca61..e7d54e9 100644
--- a/inc/integrations/Facebook.php
+++ b/inc/integrations/Facebook.php
@@ -17,6 +17,15 @@
class Facebook extends Integrations
{
// Facebook-specific properties
+ protected array $allowedContent = [
+ 'post',
+ 'photo',
+ 'video',
+ 'event',
+ 'offer',
+ 'note',
+ 'milestone'
+ ];
private string $page_id = '';
private string $page_access_token = '';
private array $permissions = [];
--
Gitblit v1.10.0