heiseonline / shariff-backend-php

👮 PHP backend for Shariff. Shariff enables website users to share their favorite content without compromising their privacy.
http://ct.de/-2467514
134 stars 44 forks source link

Only gets counts on Xing #161

Closed Spider-IT closed 5 years ago

Spider-IT commented 5 years ago

I installed Shariff last month and just updated the backend to 8.2.1 (latest version). After updating the configuration in the class Application, I only get a counter on the Xing button, which shows 0 (zero), although I shared an article there (but the url changed after that). The other buttons won't show a counter at all. What am I doing wrong?

Website: https://www.mud-rider.de Configuration:

private static $configuration = [
        'cache' => [
            'ttl' => 60
        ],
        'domains' => [
            'www.mud-rider.de'
        ],
        'services' => [
            'Facebook',
            'Twitter',
            'WhatsApp',
            'Threema',
            'Telegram',
            'Tumblr',
            'Xing',
            'LinkedIn',
            'Reddit'
        ]
    ];

Server: Apache .htaccess: RewriteRule ^shariff/.*$ - [L] Website-Entry: <div class="shariff" data-backend-url="/shariff/" data-button-style="standard" data-lang="de" data-title="<title>" data-services="[facebook, twitter, whatsapp, threema, telegram, tumblr, xing, linkedin, reddit, info]"></div>

compeak commented 5 years ago

You are trying to use services that are not supported by shariff-backend-php. The Facebook service needs credentials to work.

Spider-IT commented 5 years ago

Oh, okay, thanks!