Custom social buttons with counters?

How can I create custom social buttons (in particular, Post to Twitter, Facebook, Stumblepon, Reddit) - using counters. Buttons need the same consistent style as part of the design, and ideally we don’t want to use ready-made tags as such.

Creating custom buttons is easy - but custom counters I'm not sure about. How can this be achieved?

Thanks in advance for any suggestions.

+6
source share
2 answers

Several social sites provide API methods to get the number of stocks for a specific URL. Some of the API methods are internal and public.

Twitter has removed its undocumentation endpoint.

+11
source

I'm not 100% sure about the Facebook API, but the Twitter API allows you to customize the style of the buttons. You can find it under the heading "Create your own Tweet button", which is located at the bottom of the next page:

https://dev.twitter.com/pages/tweet_button

Alternatively, you can use Javascript to grab the node button and attach the account data to your own buttons.

0
source

Source: https://habr.com/ru/post/886754/


All Articles