Skip to content

Commit

Permalink
Merge pull request Torann#7 from DieterHolvoet/feature/fb-app-id
Browse files Browse the repository at this point in the history
Added fbAppId method
  • Loading branch information
Torann authored Jun 27, 2018
2 parents 236048e + a44215e commit cca556e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Torann/LaravelMetaTags/MetaTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit cca556e

Please sign in to comment.