![]() |
Help with Facebook Like button metric
I'm trying to measure how many times a Facebook Like button has been pressed.
I have a mainstream site that uses the Like button a lot like this: http://store.levi.com/ Facebook only allows me to see data for the last day and there seems to be no way to see all-time stats. For example, if I want to see how many times one item has been liked for the past month, there's no way to do it. Anyone know of a solution for this? I need to do this ASAP and I'm willing to pay a developer who can come up with a solution that works. |
I'd want to use jquery to be honest. With .click() on the #linkid to add one to the number of "likes".
• Store # of likes in some type of database. • On page load, php grabs database number, and sets it as variable and prints it to the little link on the page stating how many likes it has • Use jquery .click() to run a function on the like link, which has ajax update the database number and refresh the "like number" on the page without reloading the page. That's going to be your best and easiest solution. Sorry I don't have time to write it up myself. Maybe at the end of the day if no one else provides you with the code. |
No lo sé, solo estoy seguro de que mañana RUSH la va a romper...
|
Quote:
Quote:
|
Quote:
|
Anyone?
Bump bump |
Quote:
I'm sure Facebook has a wicked good API to get the current vote counts from then. Which would make it even easier than my example. You just need to pull the data from the API and post it to the counter next to the "like" link. -- Would be up to you how often it updated and checked the count. |
If I remember correctly using FBML (not IFRAME) lets you trigger a javascript event when the link is liked.
Won't help you with past metrics, but from that point on you can track things... |
Facebook does give you the total click count.
Use the like button this way: PHP Code:
|
All times are GMT -7. The time now is 05:36 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123