1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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

    Likes Received:
    Best Answers:
    Trophy Points:
    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