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.
I was getting improper URL error.
it is because 'www.' is expected for FB and Linkedin.
Can we change the regex so that either is acceptable?
Comment | File | Size | Author |
---|---|---|---|
#18 | 1434720 config.png | 152.52 KB | TomDude48 |
#18 | 1434720 result.png | 188.34 KB | TomDude48 |
Comments
Comment #1
TomDude48 CreditAttribution: TomDude48 commentedFixed. Will be in next push.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedI installed the module and twitter, facebook and google + works.
LinkedIn points to http://judylarkins.com/%5B?profile_url=http://www.linkedin.com/profile/v...
That directs to my Page Not Found.
Comment #3
TomDude48 CreditAttribution: TomDude48 commentedThis should be fixed in the latest dev release.
Comment #4
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedwhen will the new dev be rolled out?
Comment #5
TomDude48 CreditAttribution: TomDude48 commentedI want to get some testing on it and I have a couple more things I want to fix before rolling out a new release. Hopefully a week.
Comment #6
trante CreditAttribution: trante commentedsubscribe
Comment #7
trante CreditAttribution: trante commentedWhen i add new buttons to my widgets, they shares this page:
"http://www.example.com/admin/structure/widgets/sets/edit/my_widget"
But i need module to share example.com.
Comment #8
trante CreditAttribution: trante commentedI suppose sharing "/admin/structure/widgets/sets/edit/my_widget" page is major, rather than normal.
Comment #9
trante CreditAttribution: trante commentedI uninstalled dev version and installed "7.x-1.0-beta9".
Even this version shares this page:
"http://www.example.com/admin/structure/widgets/sets/edit/my_widget"
Do i miss something?
Comment #10
TomDude48 CreditAttribution: TomDude48 commentedTrante, I need more info on your issue. Which button are you trying to add? Can you send me a screenshot?
Comment #11
jlbretton CreditAttribution: jlbretton commentedsame then #2 with beta11.
fb and twitter are fine.
linkedIn: I get http://exemple.com/[?profile_url=http://www.linkedin.com/profile/view?id...
Comment #12
hvdaal CreditAttribution: hvdaal commentedLink to LinkedIn and Facebook doesn't work. The base URL is added.
Twitter works.
In the browser appears: http://www.bankmutaties.nl/[?profile_url=http://www.facebook.com/profile...
PS. The dev and beta11 version are the same.
Comment #13
DigitalFrontiersMediaIt appears that the module has a parsing issue with query strings in the link. Any address entered that includes a question mark/query parameter winds up being misinterpreted and being constructed as:
base_url/[?profile_url=social-media-site.com?query_string?]
Thus, entering:
http://www.facebook.com/pages/Vocalink/233499460021825?sk=wall
yields the following link FAIL in the active widget:
base_url/[?profile_url=http://www.facebook.com/pages/Vocalink/233499460021825?sk=wall?]
Dropping the query string ("?sk=wall"):
http://www.facebook.com/pages/Vocalink/233499460021825
yields the following correct link in the active widget:
http://www.facebook.com/pages/Vocalink/233499460021825
Comment #14
brentratliff CreditAttribution: brentratliff commentedI have also confirmed this bug. The query string is causing the token to be appended to the base url. Twitter is working correctly without a query string.
Comment #15
brentratliff CreditAttribution: brentratliff commentedI'm taking a look at function socialmedia_linkedin_parser($values). I'm the last person you want trying to decipher regex but I'm giving it a shot.
Comment #16
TomDude48 CreditAttribution: TomDude48 commentedDigitalFrontier, brentratliff,
I just tested using http://www.facebook.com/pages/Vocalink/233499460021825?sk=wall and http://www.linkedin.com/profile/view?id=5422390&trk=tab_pro. Both worked for me using the latest dev. Try the latest dev and let me know if this fixes the issue.
Comment #17
brentratliff CreditAttribution: brentratliff commentedNo, I'm still experiencing the issue. Thanks for the quick responses.
Comment #18
TomDude48 CreditAttribution: TomDude48 commentedbrantratliff,
Are you using the latest dev? Also, clear you caches.
It is working for me, but maybe we are doing something different. I input http://www.facebook.com/pages/Vocalink/233499460021825?sk=wall as the facebook profile link. Then added the Widgets: socialmedia_profile-default to a region. The full link is then available.
I have attached screenshots.