• Resolved seowebua

    (@seowebua)


    Hi,
    so here is the question: how can I add my twitter username and facebook page link to the plugin configuration? I was expecting that there is a possibility to add after post title and link, a notice that it is shared “via myusername” so my pages will get a shout out and user will have the possibility to follow?

    • This topic was modified 5 years, 2 months ago by seowebua.
Viewing 4 replies - 1 through 4 (of 4 total)
  • I was looking for this too and found this waaaay down on the document page:
    https://www.addtoany.com/buttons/customize/wordpress/twitter_message

    Plugin Author micropat

    (@micropat)

    For Twitter, 12sp helpfully linked to the document. Your Additional JavaScript code may simply be:

    a2a_config.templates.twitter = {
        related: "seoweb_ua"
    };

    For Facebook, it’s possible to create your own Facebook “App” and set the app’s ID using AddToAny Templates.

    Thread Starter seowebua

    (@seowebua)

    Thank’s for the replies!

    For twitter I ended up with the code like this:
    a2a_config.templates.twitter = {
    text: “${title} ${link} via @seoweb_ua”,
    related: “seoweb_ua”
    };

    As for fb – couldn’t test it yet, because of the broken fb.dev interface…

    In other hand, I think that adding javascript codes for such simple things is not really user friendly – any chance that you will add a couple of input fields for usernames\appid in settings in future releases?

    Good afternoon.
    I am inexperienced and I am looking for the exact same thing.
    Where exactly should that code be placed?
    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add my fb page & twi username (sharing via “…”)’ is closed to new replies.