Answer the question
In order to leave comments, you need to log in
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
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.
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.
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.
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 questionAsk a Question
731 491 924 answers to any question