Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Facebook Laravel Package

developernaren/facebook

Laravel package for posting to Facebook via a singleton FB service. Chain methods to build a status, add links, post as a page, then publish. Early-stage and built for personal use; more features planned.

View on GitHub
Deep Wiki
Context7

Laravel Facebook Posts

This is a simple package I created for my own use to post to facebook. This is not yet ready for general use. I plan to add a lot of other features.

Install

Via Composer

$ composer require developernaren/facebook

Usage

I have made the facebook class into a singleton class because I need only a single instance at a time.

Because I have made this into a singleton, this is how it can currently be used ( I might change this in the future, But this is how I need it for now)

$fb = app()->make('FB');

$fb->addStatus( "First line of the status )
->addStatus( "Second Line Here" )
->addlink( "http://linktomywebsite.com" )
->asPage( "<pageID>" )
->post();

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email :author_email instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels