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
133 stars 44 forks source link

[Support Request] How to install backend to use it with Drupal #142

Closed horvan closed 6 years ago

horvan commented 6 years ago

I've tried to install the backend and figure out witch url to past in Drupals submodule to use it. I have no clue where to start besides using npm to install the backend. could you provide some details how to use shariff with third-party software?

liayn commented 6 years ago

checkout https://www.drupal.org/project/shariff

horvan commented 6 years ago

@liayn

Dear Markus,

I checked the Module page. But there isn't one word about installing and initializing the Backend providing the counters for Shariff. That's why I posted here.

Meanwhile I installed the backend and get back the json-Test string from the documentation page. but Counters are not shown so it seams I did something wrong or there are some bugs or API changes preventing counters to show up for all or specific sharing networks.

The Drupal Module itself works as expected. But even with a callback URL there are still no counters so either I am doing something wrong or there are some other things preventing the backend saving counting information as intended.

liayn commented 6 years ago

I totally have no clue about Drupal, sorry.

I can try to help you with the backend in general. Please post screenshots of the network requests that happen, which load the counts. (should be only 1 request)

criz commented 6 years ago

Hi, maybe it would be helpful to provide some documentation how to set up the shariff backend when using Drupal. Any help writing this documentation is appreciated: https://www.drupal.org/project/shariff/issues/2975628

horvan commented 6 years ago

@liayn So how to set the backend up by useing a subdomain and check if the backend counts sharing links or not. Are all APIs still Support counting? Facebook, Twitter and G+ to name a few?

liayn commented 6 years ago

See #145 for a solution with Drupal.

For a subdomain: Just put the PHP code in the folder your subdomain is pointing to. See readme for supported platforms.

compeak commented 6 years ago

I'm closing this, because a solution has been provided in #145.