| File was renamed from inc/integrations/Facebook.php |
| | |
| | | * Facebook Integration |
| | | * Handles Facebook posts, page information, events, and OAuth authentication |
| | | */ |
| | | namespace JVBase\integrations; |
| | | |
| | | use Exception; |
| | | namespace JVBase\integrations\services; |
| | | use JVBase\integrations\Integrations; |
| | | use JVBase\meta\Meta; |
| | | use WP_Error; |
| | | use WP_Post; |
| | | use WP_Error; |
| | | |
| | | if (!defined('ABSPATH')) { |
| | | exit; |
| | |
| | | $this->defaults = [ |
| | | |
| | | ]; |
| | | $this->handleWebhooks = true; |
| | | parent::__construct($userID); |
| | | $this->hasWebhooks = true; |
| | | |
| | | parent::__construct(); |
| | | |
| | | $this->actions = array_merge($this->actions, [ |
| | | 'sync_pages' => 'getUserPages' |