atiksoftware/php-class-facebook

PHP image or text post on facebook as mobile login with username and password.

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/atiksoftware/php-class-facebook

1.0 2018-11-18 01:09 UTC

This package is auto-updated.

Last update: 2025-09-18 21:00:07 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(); 
}