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.
Hi. Great module.
There's a glitch on my site. When I share via twitter, it shares the link twice (eating up a lot of characters).
It also says via@@ instead of via @
Comments
Comment #1
maerys CreditAttribution: maerys commentedSame here, except the @@ – the URL is posted twice Doesn't look that good...
Comment #2
Flash dash CreditAttribution: Flash dash commentedHas anybody found a fix for this? I'm having the same issue on a clients site. The main issue is the link showing twice
Comment #3
mdawe CreditAttribution: mdawe commentedI have corrected the duplicate link bug by simply removing the token from the twitter entry, within the socialmedia_base_platforms function in social media.widgets.inc. For example the following code:
becomes this:
Just removing the tokens
[|[node:url]||[current-page:url]|]
.I have not created a patch, as this is surely not the correct method to fix this issue, but this was done on a clients bequest. Thought i would update with my findings.
Comment #4
durata CreditAttribution: durata commentedRegarding the @@ in the twitter links, if you set up your profile for twitter to just pull the twitter username from the url, or don't include the @ in your username field, it will show up as a single @.
Doesn't fix the duplicate URLs however.