Viewing 8 replies - 1 through 8 (of 8 total)
  • Same here. While on https://www.ra-plutte.de/, the facebook share count is shown, it is not shown anymore for loads (maybe all) blog posts, i.e. https://www.ra-plutte.de/olg-muenchen-google-ads-brandbidding-mit-alternative/

    Same here. The last post where the shares been count was on May 14th. The first post without on May 25th.

    This is a “shariff” problem I think. If you use the normal (not allowed) buttons, everything works. This is not a plugin problem, but it happens plugin and system wide. I have the problem on WordPress, Joomla and Typo3 sites with shariff plugins, but also with the original code from Heise. Interesting: The shares are displayed from a number of 100, sometimes only 300.

    Hello!
    After I realized that the error occurred after WP 5.7 update, I installed the jQuery Migrate Helper plugin.

    inc/meta-boxes/js/meta-checker.js: jQuery.fn.change() event shorthand is deprecated
    wp-admin/js/iris.min.js: jQuery.expr[‘:’] is deprecated; use jQuery.expr.pseudos
    wp-admin/js/iris.min.js: jQuery.isArray is deprecated; use Array.isArray
    wp-admin/js/iris.min.js: jQuery.isFunction() is deprecated

    I think a jQuery bug in the theme (meta-checker.js) called .ready (function) causing the problem, not Shariff Wrapper.
     
    What I've found out so far is that the jQuery expression .ready (function) is deprecated.
    I'm not sure, but the new expression could be .on ('load', function) or .on ('ready', function).
    
    If anyone here knows the correct jQuery expression, it would be very kind to let us know.

    Thank you!

    Plugin Author Jan-Peter

    (@starguide)

    The reason for this was a change by Facebook that went live on May 25th. More details can be found here in the original repository from Heise:
    https://github.com/heiseonline/shariff-backend-php/pull/176

    I adopted the fix from richard67 and Facebook share counts should be working again now with the 4.6.7 release as long as you have a working app ID and secret from Facebook (please note that these “apps” expire every couple years and need to be newly created).

    Small note: Facebook also tightened up the rate limit. So it might take some time to update all your posts and pages again after the update. As long as you see the counts on some posts the rest will be updated over time. Make sure you have the option to update the cache automatically checked in the shariff settings.

    Cheers and thanks for reporting.
    JP

    Hi Jan-Peter,

    many thanks for your reply and in general for the efforts you put into the plugin.

    I followed your recommendations on my website ra-plutte.de and waited about 2 weeks.

    a. Now facebook shares are shown (again) for older posts like https://www.ra-plutte.de/rechtstipps-zu-twitter-instagram-marketing/.

    b. However for new posts, no facebook shares are displayed even though they were shared on Facebook (example: https://www.ra-plutte.de/traditions-und-alterswerbung-grosse-rechtsuebersicht-zum-uwg/).

    Kindly please let me know your recommendation on how to proceed. Thank you.

    Best, Nick

    Plugin Author Jan-Peter

    (@starguide)

    Hi Nick,

    I checked your site and there doesn’t seem to be anything wrong (technically). Unfortunately the Facebook API simply doesn’t provide share counts for some of your pages.

    For example, if I call the Facebook API directly from my browser I get a normal response for the first url and no counts at all for the other.

    You can try it yourself like this:

    https://graph.facebook.com/v11.0/?access_token=APPID|SECRET&fields=og_object{engagement}&id=https://www.ra-plutte.de/rechtstipps-zu-twitter-instagram-marketing/

    vs

    https://graph.facebook.com/v11.0/?access_token=APPID|SECRET&fields=og_object{engagement}&id=https://www.ra-plutte.de/traditions-und-alterswerbung-grosse-rechtsuebersicht-zum-uwg/

    Of course you need to replace APPID and SECRET with the corresponding information from your own account.

    This could be (just guessing!) an issue because of the privacy changes in v10.0 of the Facebook API like stated here: https://developers.facebook.com/docs/graph-api/changelog/version10.0

    URL

    Gilt ab Version 10.0. Gilt ab dem 25. Mai 2021 für alle Versionen.
    Interaktionen

    Aus Datenschutzgründen entspricht die von einer GET /?id={url}/engagement-Anfrage zurückgegebene Anzahl m?glicherweise nicht den Roh-Zahlen.

    I’ll keep an eye out for anything new regarding the API and the official Heise implementation, but at the moment there doesn’t seem to be anything we can do about it.

    Cheers
    Jan-Peter

    • This reply was modified 3 years, 4 months ago by Jan-Peter.

    Hi Jan-Peter,

    thanks for your extensive reply and the efforts you put into the plugin. I tested calling the Facebook Graph as well for different posts and got the same results like you described above.

    It looks like no new likes/shares are considered by Facebook anymore for my site, not only for new posts but also for old posts, where the counting strangely stopped. If you should have any more ideas what I can do to restore the old working model, hints are very welcome.

    Best, Nick

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Facebook Shares not counted in some posts’ is closed to new replies.