S
S
Skrolea2016-04-21 16:18:32
PHP
Skrolea, 2016-04-21 16:18:32

Is it possible to count the number of reposts?

Good afternoon. There is a site with a bunch of photos. Each photo opens in a modal window and has the ability to share on VK, Facebook and Twitter (I use goodshare ). Question - is it possible to get the total number of "shared" photos? Well, i.e. "Today 5 - twitter, 6 - facebook, 5 - vkontakte) I can't figure out how to do it. Hang some kind of script on each button to count?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
imhuman, 2016-04-21
@imhuman

If a handler is attached to the button, this does not guarantee the accuracy of the calculation, because the sharing process may not be completed, or the ball may be immediately deleted. A more accurate way would be to assign a URL to each photo, and then poll each of the services via the API, finding out the number of shares at the address.

A
Ainur Shakirov, 2016-04-21
@Fqyeh29

Well, the easiest way is to post with a unique hashtag, and then hiccup the number of that hashtag..
But that's not the case, because the unique hashtag looks scary. And if you don’t make it scary, it will match the hashtags of ordinary users.

E
entermix, 2016-04-21
@entermix

Specify a unique data-url for each image in goodshare, then you can track the total number of publications through social networks, but you need to keep in mind that, for example, vk.com also does not guarantee the exact number, since the user can immediately delete the entry from his page, and in the widget -1 will not be.

I
Ivan, 2016-04-21
@c64

and when we create a button on the page, we assign some app_id to it. Then you can view the statistics through the application interface. It seems so, I noticed a kind of functionality out of the corner of my eye.
If you use a ready-made component, then sometimes the left application is written there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question