Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Howdy,

    What button style did you change from? The official ones? The unofficial buttons currently request the count from WordPress.com, which requests it from Facebook due to an API change that Facebook said that was coming, then retracted.

    The next version of Jetpack, due out this week, will revert back to polling Facebook directly for that count.

    As for Google, there is not a reliable/documented/supported way to retrieve the share count, so we’re not able to provide those. On the Official button style, since they is being delivered by Google, they insert the count.

    Cheers,

    Thread Starter langva

    (@langva)

    We changed from the official ones to the “icon only”. The official buttons counted the Google+ sharing. We have automatical sharing on 3 google+ account when we post something, and the google+ button where alweays updated imideately

    Thread Starter langva

    (@langva)

    AH, saw your last comment about Google now.

    Thread Starter langva

    (@langva)

    But about the posts that has “lost” their FB count after the change. We have multiste function, and an article posted the same day, but on different websites and in different languages has lost the counts on one site, but kept it on another site. Should think those sites were counted the same way, so I dont understand why it totally dissapeard on oe of them.

    ANd even if I share the lonk to this post on FB now and get likes on it, there is no counts showing up.

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    With the https://www.alexanderrybaknews.com/alexander-rybak-about-love-bullying-and-friendship-in-herna-18-08-2015/53643/ post in particular, here’s what is happening.

    The background: Facebook said that they were deprecating the API version that we were using to pull in shared counts, which did not require authentication. The new version required authentication, which is something we couldn’t do directly in Jetpack.

    To resolve this, we setup a system on WordPress.com that Jetpack could query to ask for the Facebook count. WP.com, in turn, would poll Facebook.

    To eliminate issues with different sites having different permalink structures and WordPress.com not being up to date with what your site is using, we poll using your site’s default permalink ( https://www.alexanderrybaknews.com/?p=53643 ).

    Facebook will follow the redirect and using the canonical URL, then report back those numbers.

    In your particular case, Facebook had bad data in their system, so they did not return the share counts for your actual post. I refreshed the data using FB’s debugger ( https://developers.facebook.com/tools/debug/og/object/ ).

    The values on the wp.com are cached for a short amount of time, but the count is now appearing for me: https://cloudup.com/cTh-CwJW6YY

    Since we made those changes (for Facebook’s API shutting down on April 30th), we realized that Facebook was still returning share counts against the old API. After a request for more information, we learned that they have opted to leave the API on specifically for shared counts.

    Since our middle-man system is no longer required, Jetpack 3.7 will poll Facebook directly for the share count to reduce some of the opportunity for issues like this.

    Cheers,

    Thread Starter langva

    (@langva)

    Thanks for the explanation ??

    I also saw today that the counting in events has vanished totally. We use the plugin “Holiday calender”, and the views/like swhere counted before we changed to the icons. Now they are totally gone.

    Thread Starter langva

    (@langva)

    And I tried to debug it too before I posted my case here. But maybe I did it too early in the process. I see the number snow ?? Thanks for your help.

    Thread Starter langva

    (@langva)

    I have more posts that has lost the counts. When I post the URL in teh debugger and click on fetch new scrap data, the counts show up in the debugger info. But how du I manage to update to post on the website, like it was done with the link I posted in my first comment above?

    Thanks in advance for your help.

    Thread Starter langva

    (@langva)

    will start a new post about this ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Changed to share buttons "Icon only" several posts "lost" the FB counting, and G’ is closed to new replies.