I noticed that when I enter a "via" account name / handle in the config, the resulting tweet include "via @@my_twitter_hande". That should not be double. Basically, the code does not need to supply the @ symbol; Twitter constructs that on its own.

If I do not enter a "via" username, the tweet will include "via @". This is a separate issue, perhaps.

Comments

caspervoogt created an issue. See original summary.

caspervoogt’s picture

StatusFileSize
new1.16 KB
caspervoogt’s picture

Status: Active » Needs review
caspervoogt’s picture

Issue summary: View changes
caspervoogt’s picture

new patch coming

caspervoogt’s picture

StatusFileSize
new1.69 KB
caspervoogt’s picture

caspervoogt’s picture

see patch in comment #9.

caspervoogt’s picture

StatusFileSize
new1.58 KB

Rerolled the patch. This takes care of a related issue; when you leave the "via" field blank, the tweet still included "via @". It should leave out "via" entirely if the field is blank.

ramya balasubramanian’s picture

Assigned: Unassigned » ramya balasubramanian
ramya balasubramanian’s picture

Status: Needs review » Needs work
StatusFileSize
new1.02 MB

Hi @caspervoogt,
I have applied the patch and added the block in content region. After saving this block, all node's pages are blank. And I have checked the error logs, see the below screenshot.

ramya balasubramanian’s picture

Assigned: ramya balasubramanian » Unassigned

@caspervoogt, Apologies, I was bit occupied and I have tested and added my comment but forgot to unassign the ticket. Unassigning this ticket. Please let me know if I am not checking this patch properly.

caspervoogt’s picture

No worries. See if https://www.drupal.org/files/issues/2019-06-11/simple_social_icons-29903... works for you. Once we get this tested a bit (maybe by 1 or 2 others) perhaps we can mark this RTBC and get a maintainer to commit this one.

caspervoogt’s picture

Status: Needs work » Needs review

  • shelane committed de51308 on 8.x-3.x authored by caspervoogt
    Issue #2990361 by caspervoogt, Ramya Balasubramanian: Double @ in...
shelane’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.