Thanks to share this module team for a nice job. Im using this module in my drupal 7 site.
My problem is when I share something on facebook there is text "shar.es" below the title. Please see the attached image. But I want it to be my site url which is www.idrf-bd.com. how can I do so.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | sharethis-shorten-url-option-1538364-8.patch | 1.46 KB | dsdeiz |
| shar es problem.png | 72.16 KB | ali_nayeem |
Comments
Comment #1
ali_nayeem commentedComment #2
quickly commented+1
Comment #3
ioanmar commented+1
Comment #4
timofey commentedDefinitely a +1. I'm thinking of moving away from SharThis for this sole purpose.
It hides the actual url of the domain name that's shared!!
Comment #5
jorkby commentedmay you can try with this change:
in your html.tpl.php before add:
stLight.options({publisher:"add here your PUD KEY", shorten:false});Comment #6
ShareThis_Support commentedHello User,
Please note that sharethis shortens a url before sharing it on a social network.
stLight.options({publisher:"YOUR PUB KEY", shorten:false});You can turn off URL shortener by using the parameter "shorten" as shown below -
Please let us know if you face any issues during implementation.
Regards,
The ShareThis Support Team
Comment #7
dkrockville commentedWhat is "YOUR PUB KEY" ? Where would I find mine?
Should this be inserted into html.tpl.php, and if so where exactly?
Thanks for any help!
((UPDATE)) Found some info on the configuration >> web services >> sharethis page, where the default pub key is listed under the Advanced tab.
dr-108b-4c03-db0c6d0b-A826-9fdc20f672f6 is the default public key.
At top of node.tpl.php, I added:
<script type="text/javascript">var switchTo5x=true;</script><script type="text/javascript" src='http://w.sharethis.com/button/buttons.js'></script><script type="text/javascript" src='http://s.sharethis.com/loader.js'></script>And, then below the following code:
I added:
That worked for me to NOT shorten the URL.
Comment #8
dsdeiz commentedHere's a patch that adds the option 'Shorten' in the Advanced settings.
Comment #9
Gaofengzzz commentedThanks very much @ali_nayeem for posting this issue, and @dsdeiz for your patch.
The latest patch has been commit in efcd23f.
Please let me know if you would have any further comments, feedback, questions, issues, objections, suggestions or concerns on any aspects in the commits or this ticket in general, I would be glad to provide more information or explain in more details.
Thanks again to everyone for your help, reviews, feedback and comments on this issue.
Cheers!