chriskonnertz / open-graph

Library that assists in building Open Graph meta tags
MIT License
117 stars 15 forks source link

how to generate fb:app_id ? #4

Closed leandroruel closed 8 years ago

leandroruel commented 9 years ago

i'm looking for generate this tag but i don't know how. captura de tela de 2014-12-02 18 03 44

chriskonnertz commented 9 years ago

Hello,

first of all I have to say sorry for missing this issue. Totally did not see it until now.

Unfortunately there is no support for this. As the readme file says: "Please note that this implementation sticks to the specification of OGP.me and does not support the enhancements created by Facebook."

The OGP.me specification does not support any FB enhancements.

I will leave this issue open and investigate if there is a workaround.

chriskonnertz commented 8 years ago

Solution for this problem incoming.

chriskonnertz commented 8 years ago

Solution:

$og->tag('fb:app_id', '123', false);

Output:

<meta property="fb:app_id" content="123" />
leandroruel commented 8 years ago

thanks