Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Facebook uses:
meta property="fb:..." ...
meta property="og:.." ...
And not:
meta name="fb:..." ...
meta name="og:.." ...
is possible to add support to change "name" with "property"?
Comment | File | Size | Author |
---|---|---|---|
#5 | 1408782-5-open_graph_support.patch | 2.97 KB | stella |
Comments
Comment #1
valthebaldThis can be achieved with field formatters (another request to add different formatter see at #1229822: Support link tags)
FB tags support is not in my priorities list, but patches are always welcome!
Comment #2
valthebaldComment #3
mksweet CreditAttribution: mksweet commentedYou might want to check out: http://drupal.org/project/opengraph_meta
Adds Facebook Metatags while still totally compatible with Meta Tags Quick.
Comment #4
stella CreditAttribution: stella commentedYes, but that module doesn't support landing pages, i.e. path based metatags for things like panel pages or views. It only supports node pages.
Comment #5
stella CreditAttribution: stella commentedThe attached patch adds in support for Open Graph and Twitter Card meta tags, and any other that have "property=" rather than "name=". It adds an extra setting to the meta field settings configuration, and defaults to 'name'. Just set to 'property' for open graph and twitter card tags.
Comment #5.0
stella CreditAttribution: stella commented...