Hi,
Is it possible to add with this module tags such as
fb:admins or fb:app_id

thank you.

CommentFileSizeAuthor
#5 metatag-1694838-5.patch1.48 KBDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Assigned: Unassigned » DamienMcKenna
Issue tags: +Nodewords-Metatag feature parity

Yes, this will be added soon.

remkovdz’s picture

Great!

yannickoo’s picture

Just a little workaround to get the fb:add_id into the <head>:

/*
 * Implements hook_html_head_alter().
 */
function YOURMODULEORTHEMENAME_html_head_alter(&$head_elements) {
  // Set the app id here.
  $app_id = 'YOUR_APP_ID';

  // We add the head element.
  $head_elements['fb_app_id'] = array(
    '#type' => 'html_tag',
    '#tag' => 'meta',
    '#attributes' => array('property' => 'fb:app_id', 'content' => $app_id),
  );
}
DamienMcKenna’s picture

This is required by #1553680: Required Open Graph data are missing, am making it a requirement for a stable release.

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
1.48 KB

Try this for size.

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

DamienMcKenna’s picture

Status: Fixed » Closed (fixed)

Last night saw the release of 7.x-1.0-beta1, so I'm closing all these "fixed" issues in the interest of tidying up the issue queue. Thank you all for your help getting us to this point!

silkogelman’s picture

You may want to update the 'supported meta tags list' if these are supported now.
http://groups.drupal.org/node/229413

DamienMcKenna’s picture

@s1l: Thanks for the reminder, I've updated the wiki page.

liquidcms’s picture

Issue summary: View changes
Status: Closed (fixed) » Needs work

sorry to re-open this but i have latest rel 7.x-1.7 which is well after this was supposed to be fixed and i still see no place to enter fb app id. I do have the ability to enter it with the Service Links module; but it is not adding the tag to head.

The other tags which i can enter with metatag module do show in head.

DamienMcKenna’s picture

Status: Needs work » Closed (fixed)

You have to enable the Metatag:Facebook submodule, then there'll be Application ID and Admins meta tags available.

liquidcms’s picture

thanks. Just found it and was coming to close the issue. :)

Anonymous’s picture

what about fb:page_id tag ?

DamienMcKenna’s picture

Please open a new issue for any meta tags that should be added. Thanks.

DamienMcKenna’s picture

Assigned: DamienMcKenna » Unassigned