1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[how] showing fb application to fans only

Discussion in 'FaceBook' started by extra, Oct 18, 2011.

  1. extra

    extra Jr. VIP Jr. VIP Premium Member

    Joined:
    May 18, 2007
    Messages:
    533
    Likes Received:
    34
    Hello
    I add my site as iframe app to fan page.
    My question is how can i show the app only to users that click on like or
    how to show different pages to users that click on like and users that didnt click on like button?

    Thanks
     
  2. extra

    extra Jr. VIP Jr. VIP Premium Member

    Joined:
    May 18, 2007
    Messages:
    533
    Likes Received:
    34
    up?? anyone??
     
  3. Parlez

    Parlez Regular Member

    Joined:
    Aug 23, 2011
    Messages:
    266
    Likes Received:
    362
    You can use fql query first check if the user is a fan of your app

    SELECT uid FROM page_fan WHERE uid= "user id" AND page_id= "app id"

    if the user is already a fan, it will return the userid of the user, else it will return null.