![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Dec 2006
Location: Buenos Aires
Posts: 742
|
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.
__________________
No sig. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
|
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.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 93,188
|
No lo sé, solo estoy seguro de que mañana RUSH la va a romper...
__________________
FLASH SALE INSANITY! deal with a 100% Trusted Seller Buy Traffic Spots on a High-Quality Network 1 Year or Lifetime — That’s Right, Until the Internet Explodes! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | ||
Confirmed User
Join Date: Dec 2006
Location: Buenos Aires
Posts: 742
|
Quote:
Quote:
![]()
__________________
No sig. |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Too lazy to set a custom title
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 93,188
|
¡Si no tocan "The Weapon" voy a pedir un reembolso de mi entrada!
__________________
FLASH SALE INSANITY! deal with a 100% Trusted Seller Buy Traffic Spots on a High-Quality Network 1 Year or Lifetime — That’s Right, Until the Internet Explodes! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Dec 2006
Location: Buenos Aires
Posts: 742
|
Anyone?
Bump bump
__________________
No sig. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
|
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.
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Too lazy to set a custom title
Join Date: Mar 2002
Location: Australia
Posts: 17,393
|
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... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Registered User
Industry Role:
Join Date: Sep 2010
Posts: 36
|
Facebook does give you the total click count.
Use the like button this way: PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |