Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Facebook App

Hello guys, I am a part time technician to internet caffe. I provide them support for technical stuff. Recently i begun my studies to computer science and i am trying to focus to developing apps and design websites. My boss asked me something that i am not familiar. we have our own facebook fan page. is it possible somehow when someone click like to our fan page to get a thank you message? We want a function that could provide a thank you message and a bit of a code. The code will be different for every user that likes us. The code that will appear, will be the gift from us to user. He will be able to spend an hour for free to internet cafe by bringing to us that code. I think that we need a database too. Do you have any thoughts?

I could be wrong (I don't use Facebook), but I don't think it is possible to change the behavior of a page on their site in this way. I believe you would need to have your own website to achieve this.

That was my first thought, that we should create our own website and within our facebook fan page we would post the link and when the customer clicked on that, it automatically redirect him to the website.

2 Answers

You can also create a fans-only content on your Facebook page - basically a visitor will have to click "Like" to your page in order to be able to see that page/subpage then you can add the COUPON on that page using an image or txt. Now if you want to generate a code for each user you will probably need to add some code if no app is available, but I do know that you can use iframes on facebook which will allow you to embed an external page. Hope it helps

do you have any specific instructions for me to follow? or any video tutorial? thanks for your answer :D

It seems that this is something that will help me!!! thank you very much!!!! :D