My service links, specifically - the facebook link - is pulling info from a block instead of for the node type (blog entry) that it is attached to. I tried disabling the block that it is pulling from, but it still grabs that data / text instead of the blog entry text I'm trying to post to facebook. Images seem to be working fine.
Note, I moved the block that it seems to be pulling from from the right to the left yesterday - but the service links themselves are attached to every individual blog post - not the block at all.
Comments
Comment #1
mcri commentedAnyone? Still having the issue - service links embedded below individual blog posts pull text from sidebar blocks instead of blog content?
Comment #2
soulsolutions commentedDoes anyone have a solutiuon to this, I am having the same problem.
Comment #3
jcbrew commentedI'm looking to add something like this to my site - but it doesn't look like there's much support for this mod. It's a shame because Facebook is really popular and we are looking to do a lot more with it in the near future. Does anyone have any suggestions on any other module that will link my drupal site's content to facebook?
Comment #4
devin carlson commentedI am also having this issue, especially with the facebook link as mentioned.
When I use the link to share a page, the posts content is gather from a block which is set in a region at the top of the page.
I would like to have the content gathered from within the node body itself.
Comment #5
devin carlson commentedI figured that facebook had to take the post information from somewhere.
It turns out that it uses the following tags to look where to grab data from:
More information can be found at http://www.facebook.com/share_partners.php
So you need to be able to mark the node body as the "description".
I found that you can use the Meta tags module (http://drupal.org/project/nodewords) to do this.
The module allows you to, among other things, add your own description to each node or use the teaser of the page if the meta description is not set.
Comment #6
erikhopp commentedI had this issue a while back and fixed it by changing my theme around such that it showed the blog post comment first on the blog full node page - rather than having the sidebar load first. The Facebook widget looks up the url you give it (the full node page) and looks for the first bit of text on the page to pull into the share widget. If you have the sidebar loading first but floated right or left, it will load sidebar content first. I think the Zen theme has been constructed such that the content loads first and the navigation, first sidebar and second sidebar load afterwards, thus negating this issue. I'd view source on the page and see what loads first. Make the content load first and fix the layout with CSS. Plus making the content load first is better anyway. Or use the description metatag as described above.
This isn't a service links issue though - that is just how Facebook works.
Hope that helps.
Erik.
Comment #7
GreyHawk commentedIs this a core setting within the module, or something that has to be done to each node...? I've tried setting it up, but keep getting the default "left column" information when trying to post a node to FB.
Comment #8
TheCrow commentedRead also this: #466776: meta data needed for logo on facebook
Comment #9
1kenthomas commented@Devin:
This technique no longer seems to work. I am re-opening the issue, as a more effective solution than "reorder content in the theme" is needed.
Comment #10
TheCrow commentedusing meta tag is still the unique solution follow also the link #8, facebook has open graph metadata now!
Comment #11
devin carlson commentedAs TheCrow mentioned, facebook now uses The Open Graph Protocol (http://ogp.me) for metadata.
There is now a Drupal project which allows you to add Open Graph meta tags to content.
http://drupal.org/project/opengraph_meta
I'm marking this as "works as designed" since I don't believe that Service Links should provide this functionality and an alternative exists.