PHPackages                             weboftalent/facebook-tools - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. weboftalent/facebook-tools

AbandonedSilverstripe-module[Utility &amp; Helpers](/categories/utility)

weboftalent/facebook-tools
==========================

Facebook LikeBoxPage, Like Button, Metadata

1.0.0(10y ago)0111BSD-3-ClausePHP

Since Jan 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/gordonbanderson/facebook-tools)[ Packagist](https://packagist.org/packages/weboftalent/facebook-tools)[ RSS](/packages/weboftalent-facebook-tools/feed)WikiDiscussions master Synced 4w ago

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

\##Functionality [![Build Status](https://camo.githubusercontent.com/cb3d21cc8139c2c213ac3259270a27786d6bbcce05e31491f4d6575fd2bd4efa/68747470733a2f2f7472617669732d63692e6f72672f676f72646f6e62616e646572736f6e2f66616365626f6f6b2d746f6f6c732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gordonbanderson/facebook-tools)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3574c8efb23c3320a3e272ba54aceaae71c5eda9911e1faa803bafdf427c5786/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f72646f6e62616e646572736f6e2f66616365626f6f6b2d746f6f6c732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gordonbanderson/facebook-tools/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/3d00c2358f1af459646512bc0dd4416cc6c5f2d4248139f639c4016ec4f6fba0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f72646f6e62616e646572736f6e2f66616365626f6f6b2d746f6f6c732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gordonbanderson/facebook-tools/?branch=master)[![Build Status](https://camo.githubusercontent.com/02a91983f64d585d5d4396fa2978d753765d6acf9caad3812f3764623440c741/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f72646f6e62616e646572736f6e2f66616365626f6f6b2d746f6f6c732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gordonbanderson/facebook-tools/build-status/master)[![codecov.io](https://camo.githubusercontent.com/f0d567e5608f35b70abf268abbf5c5cbe14be447841142ef7b3f3a97441ea626/68747470733a2f2f636f6465636f762e696f2f6769746875622f676f72646f6e62616e646572736f6e2f66616365626f6f6b2d746f6f6c732f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/gordonbanderson/facebook-tools?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/b08e976f0693fd7f0e5f28c82a4ea407fc847f26c02fd53fbf31d32d8d57f214/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f66616365626f6f6b2d746f6f6c732f76657273696f6e)](https://packagist.org/packages/weboftalent/facebook-tools)[![Latest Unstable Version](https://camo.githubusercontent.com/a04d71e6204b8a97be8459a76821f0fba0414e10b95145504dbecd2ef957d639/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f66616365626f6f6b2d746f6f6c732f762f756e737461626c65)](//packagist.org/packages/weboftalent/facebook-tools)[![Total Downloads](https://camo.githubusercontent.com/6c75bf1a4a70b24f4503e95f2acde61b720b1ff771054f710d6c8ea92424148a/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f66616365626f6f6b2d746f6f6c732f646f776e6c6f616473)](https://packagist.org/packages/weboftalent/facebook-tools)[![License](https://camo.githubusercontent.com/d11e92d8b37a7fa744f4c7b75d28ef81bd8f8399394343e5d620d77289a18680/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f66616365626f6f6b2d746f6f6c732f6c6963656e7365)](https://packagist.org/packages/weboftalent/facebook-tools)[![Monthly Downloads](https://camo.githubusercontent.com/0b45ae4bd5bd9440801cb37eebd63ac50116a6c7b3eb5abe33765f682b8c47ef/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f66616365626f6f6b2d746f6f6c732f642f6d6f6e74686c79)](https://packagist.org/packages/weboftalent/facebook-tools)[![Daily Downloads](https://camo.githubusercontent.com/440c934c24b453be34e1eaceaf3b3505daa970ff190b273fe6b4333b227fdbe3/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f66616365626f6f6b2d746f6f6c732f642f6461696c79)](https://packagist.org/packages/weboftalent/facebook-tools)

[![Dependency Status](https://camo.githubusercontent.com/e7393c2834500b00795938b7317212242c10e6aabd8f574f37b6d78071493075/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f7765626f6674616c656e743a66616365626f6f6b2d746f6f6c732f62616467652e737667)](https://www.versioneye.com/php/weboftalent:facebook-tools)[![Reference Status](https://camo.githubusercontent.com/db4e63896c876ff3ba02d3f067492a5a716b3b79f141b123405445c76ac5d045/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f7765626f6674616c656e743a66616365626f6f6b2d746f6f6c732f7265666572656e63655f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/php/weboftalent:facebook-tools/references)

[![codecov.io](https://camo.githubusercontent.com/b5b5c4f8e692315acd59b244e2e6f00cf8d0dd15b7ef41e0d3e2cd2738b0a9ac/68747470733a2f2f636f6465636f762e696f2f6769746875622f676f72646f6e62616e646572736f6e2f66616365626f6f6b2d746f6f6c732f6272616e63682e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/b5b5c4f8e692315acd59b244e2e6f00cf8d0dd15b7ef41e0d3e2cd2738b0a9ac/68747470733a2f2f636f6465636f762e696f2f6769746875622f676f72646f6e62616e646572736f6e2f66616365626f6f6b2d746f6f6c732f6272616e63682e7376673f6272616e63683d6d6173746572)

- Add a like button to any page
- Add a facebook like box to any page
- Add facebook metadata to any page

Installation
------------

[](#installation)

```
composer require "weboftalent/facebook-tools:~1"

```

The name of the output directory does not matter

Usage
-----

[](#usage)

### Site Configuration

[](#site-configuration)

A 'Facebook Metadata' tab will now appear in the Site Config. There you can upload an image that will be shown in Facebook when a link from the site is provided. Otherwise facebook tries to guess from the content.

### Templates

[](#templates)

#### Facebook API

[](#facebook-api)

Add the following to your Page templates, after the body tag.

```

```

This will provide the Javascript required to load the Facebook API. It is a necessary step for what follows.

#### Like Button

[](#like-button)

Insert the following where you would like the Like Button to appear

```

```

#### Facebook Metadata

[](#facebook-metadata)

In the head section of your Page template, insert the following:

```

```

This will provide basic metadata extracted from existing page information, and also add the logo if you have provided one in the SiteConfig 'Facebook Metadata' tab.

### Content Types

[](#content-types)

#### FacebookLikeBoxPage

[](#facebooklikeboxpage)

Create a page of type 'Facebook Like Box Page'. In the Facebook tab, enter the URL of your page (e.g. ). If you do not do this an error message will appear on the page in the public version of the site.

Silverstripe Version Compatibility
----------------------------------

[](#silverstripe-version-compatibility)

2.4 only (tested with 2.4.5+) - stable24 branch 3.1

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

3815d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9af58f7ff675f65dbd2f20d39d8b80ed671eb0fe376eb978e497934c175196fe?d=identicon)[weboftalent](/maintainers/weboftalent)

---

Top Contributors

[![gordonbanderson](https://avatars.githubusercontent.com/u/7060?v=4)](https://github.com/gordonbanderson "gordonbanderson (52 commits)")

---

Tags

facebooksilverstripeweboftalentlikebox

### Embed Badge

![Health badge](/badges/weboftalent-facebook-tools/health.svg)

```
[![Health](https://phpackages.com/badges/weboftalent-facebook-tools/health.svg)](https://phpackages.com/packages/weboftalent-facebook-tools)
```

###  Alternatives

[tractorcow/silverstripe-opengraph

Implementation of the Facebook Open Graph protocol for SilverStripe

50144.8k6](/packages/tractorcow-silverstripe-opengraph)[jonom/silverstripe-share-care

Social media sharing previews and customisation for Silverstripe

2933.2k1](/packages/jonom-silverstripe-share-care)

PHPackages © 2026

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