View Full Version : Hi i am using "Jquery Selected text searcher" this doesn't work with Facebook

09-13-2011, 03:02 AM
well the jquery is working fine for twitter and other stuff but its not working for facebook, when i highlight the text and select fb to share at then the facebook share just show the meta description of site and not the selected area. I am not able to understand where am i going wrong, any assistance provided is highly appreciated.
Go to this link http://www.blobh.com/2011/09/testing-1.html there select some text then a tooltip kind of thing will appear first share at twitter then at facebook you will understand the matter.
the script i am using is this

<script type='text/javascript'>
lists:"Twitter,http://twitter.com/home?status=%ts ,favicon|Facebook,http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.blobh.com%2F&t=%s,favicon|Wikipedia (en),http://en.wikipedia.org/w/index.php?title=Special:Search&search=%s,favicon|Google Maps,http://maps.google.com/?q=%s,favicon",
extraClass: 'dark',
title: 'Share this text ...',
borderColor: '#7F241C',
background : '#4F663A',
titleColor : '#7F241C',
textColor : '#FFFFFF',
hoverColor: '#7F241C'

and the other script is this one http://bloghuts.googlecode.com/files/jquery.selected-text-sharer.min.js and the html is like this

<!-- Just wrap a text with a div and add a class, thats all ! -->
<div class="demo1">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it</div>
<textarea class="demo4"></textarea>
<input class="demo4" type="text" />