Closed (won't fix)
Project:
Open Graph meta tags
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Apr 2011 at 15:00 UTC
Updated:
12 Apr 2020 at 18:22 UTC
Jump to comment: Most recent
Comments
Comment #1
el_reverend commentedGood question. I was wondering about the same. I have a view that constructs summaries from our blog (as well as products, and other sections) but it does not create OpenGraph meta tags for it. What options do we have to achieve this?
Comment #2
hiddentao commentedThis is tricky. The OpenGraph spec assumes that the meta tags information pertains to a single social object, i.e. a blog post, video, image, etc. So it's hard to see how this would map to a view. Most commonly you'd want to share a single item with another site via the OpenGraph spec and not a list of items. But I could be wrong. Any thoughts?
Comment #3
el_reverend commentedHiddentao,
I believe you are right with your view of how the OpenGraph protocol is supposed to work. Having different objects at the same URL is not intended and causes confusion.
While I would like to have this feature in order to drive traffic deeper into my site as compared to the direct traffic it will get as the result of the sharing action, I can see that this could cause problems in the long run.
What about generating the URL, Image, description from the first 'new' item in views list and creating an OG object that way?
Could the entire views page be a object by itself? What about a 'special' set of descriptors for such a page? Thoughts?
Comment #4
lyricnz commentedOne of the Open Graph meta-types is "website", so it seems like a legitimate thing to want to put on the front page.
Comment #5
jerry commentedOne of the Open Graph meta-types is "website", so it seems like a legitimate thing to want to put on the front page.
That seems reasonable to me, too.
Comment #6
arkjoseph commentedHas anyone made any progress on this?
I need to add the like button for a view page with colorbox (lightbox). The view consists of several node fields. Each image and or video from each node on this gallery will have a like button.
The like button's og:url from each node will then need to be altered with php... basically, I need to customize each nodes og:url in order for me to pass a parameter to open colorbox automatically from a url.
Comment #7
bkosborneWhile I believe it would require a significant update to the module to support "custom" OG tags per a path (that's really what this issue comes down to), I think it would be fairly easy to provide an option to add an override for the homepage itself. Many people use a view or a panel for the homepage that would benefit from this.
FYI: The OG tag for the homepage of a website should almost always be "website", and that OG type shouldn't be used on any other page on the website.
@arkjoseph, I'm confused by that. The OG tags only work one per page. If I understand correctly, you the like button to pick up different OG tags based on which like button was clicked? If you specify the proper URL for the like button (link it directly to the node), then Facebook should scan THAT page. So as long as that node page has proper OG tags, you should be good.
Comment #8
jospBln commentedI have a view as my homepage with some selected nodes.
How can I set an image for my homepage?
How can I set a text?
Right now it's pretty bad: fbLike takes the very first text, which is a teaser of a node and it takes the very first image, which is a small weather icon.
Both are not representative for the page.
Comment #9
torotil commentedHi,
I'm the new maintainer of opengraph_meta. Sorry for the long silence in the issue queue.
Sadly I don't have the resources to care for the Drupal 6 version. Unless and until someone steps up to maintain it I'm therefore closing all D6 issues as WONTFIX.
Feel free to re-open the issue if it is still valid in one of the Drupal 7 branches.
Thanks!
Comment #10
avpaderno