0

I have a Facebook page.

We will start a giveaway. And we will give gifts to our Facebook Fans . They will give a promo code if like our page. BUt we want to sure, they are really fan of our fan page.

Because of this, I want to create a new tab which say "You have to like this page for get promotion code" to user . When visitor like our page, he / she can see content tab. If not, they can't see.

It was easy on static FBML, but know how can i do it with iFrame ? My tab is ready. Created a new app and then this app added to page.

Eray
  • 7,038
  • 16
  • 70
  • 120
  • 1
    I think I understand what you want to do. You REALLY phrased this poorly. You don't want to force your visitors to do anything. You want to know when a visitor clicks "like" and only then provide a promo code. Correct? – Dave Rager Jun 22 '11 at 17:34
  • Dave, yes you right. My Engslih isn't so good, because of this, i was explaining it in short way. Haha. – Eray Jun 22 '11 at 17:36
  • I thought as much... @xanderer's answer below is what you are looking for I believe. In particular look at the accepted answer for the linked question. – Dave Rager Jun 22 '11 at 17:42
  • Ah, OK. It sounded initially as though you wanted to force users to click "like" for your content before they saw the content. Have removed my downvote. – moonshadow Jun 22 '11 at 23:20

1 Answers1

4

you need to parse the signed_request parameter, it has a Boolean attribute called liked.

you may want to look at this question

Community
  • 1
  • 1
xanderer
  • 438
  • 2
  • 12
  • As a side note, I do hate it when facebook pages force you to like. Although do I understand that it maybe a requirement for some projects. – xanderer Jun 22 '11 at 17:33