Get random fan from a fan-page

Discussion in 'Facebook API' started by Sake7, Mar 16, 2011.

  1. #1
    I wanna run a contest through my Facebook fanpage and i want to pick the winner as a random fan. Is there a way to do that with an aplication? I prefer this way for more transparency (istead of using random.org with some numbers manually atributed to each fan).
     
    Sake7, Mar 16, 2011 IP
  2. codeartist

    codeartist Peon

    Messages:
    96
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes you can but you need some programming skills since fql does not allows to query using rand function you can pull the fans in the array and using random function you can pick the user id
     
    codeartist, Apr 5, 2011 IP