Support » Plugin: AddToAny Share Buttons » pulling the the value for total shares

  • Resolved outcold

    (@outcold)


    I’d like to graphically show the total number of shares against a target value and am wondering if there’s a way to pull the value and use it in another script?

    I’m using a short code like [addtoany url=”https://www.example.com/page.html” title=”Some Example Page”] and just need the number of shares value (shown beside the “+” button) so that I can use it in my graph.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author micropat

    (@micropat)

    At the moment the best way is to poll the count box, i.e.:

    jQuery('.addtoany_shortcode .a2a_dd .a2a_count').first().text();

Viewing 1 replies (of 1 total)
  • The topic ‘pulling the the value for total shares’ is closed to new replies.