atiksoftware / php-class-facebook
PHP image or text post on facebook as mobile login with username and password.
1.0
2018-11-18 01:09 UTC
Requires
This package is auto-updated.
Last update: 2025-02-18 19:35:30 UTC
README
PHP image or text post on facebook as mobile login with username and password.
Installation
Using Composer
composer require atiksoftware/php-class-facebook
require __DIR__.'/../vendor/autoload.php'; use \Atiksoftware\Facebook\Facebook; $fb = new Facebook();
login and post data
try { $fb->login("username","password"); } catch (Exception $e) { echo $e->getMessage(); } try { $fb->post("pageid","message_text","image_file_path"); } catch (Exception $e) { echo $e->getMessage(); }