count LIKE clicks

Discussion in 'PHP' started by roice, Nov 29, 2010.

  1. #1
    Hello,
    I want to do images competition - the winner is the one that his photo got the biggest number of facebook LIKE clicks.
    Is it possible to count the number of click on each LIKE button and input the data in DB?

    Thanks
     
    roice, Nov 29, 2010 IP
  2. roice

    roice Peon

    Messages:
    200
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    roice, Nov 30, 2010 IP
  3. mephisto73

    mephisto73 Greenhorn

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    You can also do this via javascript (like jquery) and and a backend php script (ajax). Add a listener to the like link and call the backend script to increase the counter.

    Hope you get the general idea.
     
    mephisto73, Dec 1, 2010 IP
  4. nadeem3366

    nadeem3366 Member

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    Hi,

    Yes i think it will be possible to store the data in our own database of face book like .button
     
    nadeem3366, Dec 3, 2010 IP