From a44215e87900f0ba9e194f8a8b5ecf2ee2e7323d Mon Sep 17 00:00:00 2001 From: Dieter Holvoet Date: Sun, 11 Jun 2017 01:04:02 +0200 Subject: [PATCH] Added fbAppId method --- src/Torann/LaravelMetaTags/MetaTag.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Torann/LaravelMetaTags/MetaTag.php b/src/Torann/LaravelMetaTags/MetaTag.php index f804242..e05b0ad 100644 --- a/src/Torann/LaravelMetaTags/MetaTag.php +++ b/src/Torann/LaravelMetaTags/MetaTag.php @@ -190,6 +190,19 @@ public function openGraph() return implode('', $html); } + /** + * Create Facebook app ID tag + * + * @return string + */ + public function fbAppId() + { + return $this->createTag([ + 'property' => 'fb:app_id', + 'content' => $this->get('fb:app_id'), + ]); + } + /** * Create twitter card tags *