Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Ben Cole

    (@bcole808)

    Hi,

    I would love to be able to add support for more social networks. I am not familiar with XING, but it sounds like users are probably able to share links to web pages, right?

    I do see some documentation for their API here, but I don’t see anything that looks like it returns the number of shares a URL has: https://dev.xing.com/docs/resources

    Can you see if you can find an API for XING which will let the plugin check to see the number of times a particular URL has been shared?

    Thread Starter Johannes Weber

    (@johannes4711)

    Hi Ben,
    hm, I do not know the details of the XING share button. It seems that they are using their own JavaScript snippet:
    https://dev.xing.com/plugins/share_button/docs

    Can this be used for your tracker, or do you need the API? I have not found something about the share counter through the API. ??

    Thanks!
    Johannes

    Plugin Author Ben Cole

    (@bcole808)

    It does have to be a specific API which allows the plugin to make an HTTP GET request to ask it for the number of shares for a given URL. I didn’t see one when I looked, but if you are able to find it or if they add support for URL share counts let me know and I’d be happy to add it to this plugin.

    Thread Starter Johannes Weber

    (@johannes4711)

    Hi Ben,

    I am using another plugin on my blog to show the common “share” buttons under each post in a secure way: the backend retrieves the share counts and displays them in the share buttons.
    Plugin: https://www.ads-software.com/plugins/shariff/
    Demo on my blog: https://blog.webernetz.net/2013/07/30/password-strengthentropy-characters-vs-words/

    The original “shariff-backend” can be found here: https://github.com/heiseonline/shariff-backend-php
    I am not a good coder, but I think that under src -> Backend there are the ways for other social networks such as Reddit or XING to request the counters. Maybe you can use something from there?

    Plugin Author Ben Cole

    (@bcole808)

    Thanks, this looks helpful. I think I should be able to follow the example in the shariff-backend code on Github and it looks like there should be a way for me to add Xing with it.

    I’m not sure when I’ll be able to get to this, but hopefully I can do it soon. Additionally, I want to add the ability for the site admin to enable/disable collection of stats from different social networks so I will do that feature at the same time as this one.

    You can follow along with the issue on Github here if you like:

    https://github.com/chapmanu/wp-social-metrics-tracker/issues/72
    https://github.com/chapmanu/wp-social-metrics-tracker/issues/71

    Plugin Author Ben Cole

    (@bcole808)

    Xing, Flattr, and Reddit have all now been added to this plugin as of version 1.6.0. I was able to reference the Shariff source code to see how those APIs needed to be configured.

    Thread Starter Johannes Weber

    (@johannes4711)

    Great, great, great!!! Thanks for your work!

    (Could you color the XING section with the typical XING color? That would be even greater ;))
    Here it is:
    rgb(0,101,103)
    #006567

    Plugin Author Ben Cole

    (@bcole808)

    Oh yes, I forgot to add the colors. Thanks for providing the color codes!

    I’ve added the colors and released version 1.6.1

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Feature Request: XING’ is closed to new replies.