ahmic/nova-to-buffer is a Laravel package for a laravel nova tool to send posts to buffer..
It currently has 8 GitHub stars and 397 downloads on Packagist (latest version 1.0.1).
Install it with composer require ahmic/nova-to-buffer.
Discover more Laravel packages by ahmic
or browse all Laravel packages to compare alternatives.
Last updated
Tired of manually posting links to social networks? This package enables "one click" posting to social networks from Nova dashboard, through Buffer service.
Buffer is a software application for the web and mobile, designed to manage accounts in social networks, by providing the means for a user to schedule posts to Twitter, Facebook, Instagram, and Linkedin, as well as analyze their results and engage with their community. Wikipedia
They offer a free plan for one user and up to three social accounts
You can install the package in to a Laravel app that uses Nova via composer:
composer require ahmic/nova-to-buffer
1. Add Buffer access token and profile id(s) to the Laravel's config/services.php file
// ...
'buffer' => [
'access_token' => env('BUFFER_ACCESS_TOKEN'),
'profile_ids' => env('BUFFER_PROFILE_IDS')
]
.env example, put your own ids and token in following format
BUFFER_PROFILE_IDS="5d13f781311f3c645456771e,5d1540124a12c7tr141dbd22"
BUFFER_ACCESS_TOKEN="1/34443f37tgf907fc1051e0d635e53b1e"
2. To enable share component for specific model, you'll need to add the tool to that model's Nova resource. Make sure to specify the class name so the resource tool can load it properly.
Replace _URL_ with publicly accessible url for your model.
use Ahmic\NovaToBuffer\NovaToBuffer;
// ...
NovaToBuffer::make()
->url(_URL_)
Example
config('app.url').'/posts/'.$this->slugto gethttps://yourdomain.com/posts/model-slugConstruct it according to your url scheme.
3. All set! Visit detail screen of your model resource, populate fields and click "Send update".


Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.