martin-georgiev / social-post
Library helping you publish status updates on Facebook, LinkedIn and Twitter in centralised way
Installs: 40 641
Dependents: 1
Suggesters: 0
Security: 0
Stars: 8
Watchers: 3
Forks: 3
Open Issues: 4
Requires
- php: ^7.1
- ext-curl: *
- abraham/twitteroauth: ^0.7
- facebook/graph-sdk: ^5.4
- happyr/linkedin-api-client: ^1.0
- php-http/curl-client: ^1.7
Requires (Dev)
- friendsofphp/php-cs-fixer: *
- jakub-onderka/php-parallel-lint: ^1.0
- phpstan/phpstan: ^0.10.2
- phpunit/phpunit: ^7.2
- sensiolabs/security-checker: ^4.1
- symfony/phpunit-bridge: ^3.0|^4.0
This package is auto-updated.
Last update: 2022-08-29 21:14:40 UTC
README
What's this?
This is a library that provides centralised gateway for publishing post updates to social networks. Currently, it supports Facebook, LinkedIn and Twitter.
How to install it?
Recommended way is through Composer
composer require martin-georgiev/social-post
Additional help
Twitter has limited features for tweet customisation. This means that for tweets only message
and link
values (Message
instance) will be used.
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 can of help.
License
This package is licensed under the MIT License.