Support » Plugin: AddToAny Share Buttons » Twitter Handle

  • I used the documentation you provided to add my Twitter handle, @JansFrance. This is the exact code I used in Settings—>AddToAny—>Additional Javascript

    a2a_config.templates.twitter = “Reading: ${title} ${link} by @JansFrance”;

    I also tried this:
    a2a_config.templates = {
    twitter: “${title} ${link} via @JansFrance”
    };

    But neither will show my handle.
    What is the correct code?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author micropat

    (@micropat)

    Hi Jan, on francetraveltips.com your Twitter template isn’t live right now.

    This is the exact line you should add to your “Additional JavaScript” box in AddToAny Settings:

    a2a_config.templates.twitter = "Reading: ${title} ${link} by @JansFrance";

    Be sure to Save Changes and clear any site cache(s).

    The first time I added the code the icons didn’t show up. So I deleted it and waited a few weeks. Today I added it in again and on my iphone and tablet everything is working fine. But now on my desktop (Chrome and Safari) Twitter is not opening up. I get the message, “Open AddressBookURLForwarder” or “Cancel”. If I click “Open AddressbookURLFOrwarder”, another message pops up saying, “Copy and Paste. The App did not open”.

    I shut down my computer and booted it up again. It now works on Chrome and Safari especially when I chose a new post to share via Twitter. Maybe there’s a bug?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.