PHPackages                             denismitr/facebookfeed - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. denismitr/facebookfeed

AbandonedArchivedLibrary[API Development](/categories/api)

denismitr/facebookfeed
======================

FacebookFeed API for Laravel

v1.0.2(10y ago)118MITPHPPHP &gt;=5.5

Since Jun 26Pushed 10y ago1 watchersCompare

[ Source](https://github.com/denismitr/FacebookFeed)[ Packagist](https://packagist.org/packages/denismitr/facebookfeed)[ RSS](/packages/denismitr-facebookfeed/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

\#FacebookFeed API for Laravel by Denis Mitrofanov 2016

\##Install composer require denismitr/facebookfeed

Add `Denismitr\FacebookFeed\FacebookFeedServiceProvider.php` to Laravel's `config/app.php` **providers** array. And also you can use `FacebookFeed` facade also by adding `Denismitr\FacebookFeed\Facades\FacebookFeed.php`to `config/app.php` the **facades** array

\##Usage

At this moment there are two main methods in the FacebookFeed API:

- \[image\](#Upload an image)
- \[link\](#Send a link to a webpage)

\###Upload an image

```
FacebookFeed::image('Some message', '/path/to/image.jpg')->send();

```

\###Send a link to a webpage

```
Facebook::link('Some message', 'http://a_link.to/a_page')->send();

```

\###Exceptions

There are three **exception classes**:

```
//Invalid facebook api variables
Denismitr\FacebookFeed\Exceptions\InvalidEnvSetting.php

//File is not readable
Denismitr\FacebookFeed\Exceptions\InvalidFilePath.php

//Error while sending to facebook
Denismitr\FacebookFeed\Exceptions\SendToFacebook.php

```

\###Environment variables

The environment variables must be set like so:

- FACEBOOK\_ID=your facebook id
- FACEBOOK\_SECRET=your facebook secret key
- FACEBOOK\_API=v2.6
- FACEBOOK\_TOKEN=your facebook token

\##Important

The long-term **Facebook** access token you can get through the [Graph API Explorer](https://developers.facebook.com/tools-and-support/) and it is required to get it from the name of the Facebook APP you are using, but connected to the user account.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3655d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d68ae5d5ca94f49a69f961a7825865d92247b09e276a25fcc6ad485d4c8c964?d=identicon)[denismitr](/maintainers/denismitr)

---

Top Contributors

[![denismitr](https://avatars.githubusercontent.com/u/16356446?v=4)](https://github.com/denismitr "denismitr (5 commits)")

---

Tags

laravelfacebook

### Embed Badge

![Health badge](/badges/denismitr-facebookfeed/health.svg)

```
[![Health](https://phpackages.com/badges/denismitr-facebookfeed/health.svg)](https://phpackages.com/packages/denismitr-facebookfeed)
```

###  Alternatives

[joelbutcher/laravel-facebook-graph

Laravel wrapper for the Facebook Graph SDK for PHP 7.4 and PHP 8.

74154.8k](/packages/joelbutcher-laravel-facebook-graph)[edbizarro/laravel-facebook-ads

Facebook &amp; Instagram Ads for Laravel 5.6+

13429.8k](/packages/edbizarro-laravel-facebook-ads)[casperlaitw/laravel-fb-messenger

A Laravel Package to Integrate Facebook Messenger API

10231.7k](/packages/casperlaitw-laravel-fb-messenger)[spotonlive/laravel-facebook-ads

Facebook integration for Laravel

1917.1k](/packages/spotonlive-laravel-facebook-ads)[marshmallow/laravel-facebook-webhook

A package to retrieve Facebook Leads with webhooks &amp; Graph API in Laravel.

133.4k](/packages/marshmallow-laravel-facebook-webhook)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
