janwebdev/social-post

Library helping you publish status updates on Facebook and Twitter in easy way

2.0 2024-03-31 13:48 UTC

This package is auto-updated.

Last update: 2024-12-01 00:15:50 UTC


README

Scrutinizer Code Quality Build Status Coverage Status Latest Stable Version Total Downloads

What's this?

This is a library that provides API for creating posts on Facebook and Twitter. It was cloned from this repo and refactored to support PHP 8.1+

How to install it?

Recommended way is through Composer

composer require janwebdev/social-post

Additional info

Facebook doesn't support non-expiring user access tokens. Instead, you can obtain a permanent page access token. When using such tokens you can act and post as the page itself. More information about the page access tokens from the official Facebook documentation. Some Stackoverflow answers (here and here) also may help.

License

This package is licensed under the MIT License.