Solved

Facebook Page Fans

Posted on 2011-02-12
3
616 Views
Last Modified: 2012-05-11
Hi,

I am a ASP .NET  developer, and dont know much about PHP :) or facebook

I am creating a Facebook page, of a software that I give for free, but I want to give the link of download ONLY to my fans.

I found this article http://thinkdiff.net/facebook/how-to-detect-fan-of-a-facebook-page/  and this example http://www.facebook.com/thinkdiff.net?v=app_4949752878 ....

I dont have any idea how to do that in my page :( any of you can explain me abit step by step, a simple example how to show a link to my fans and no others.

somethin like...
IF(isFan){
this is the link: mypage.com
}else{
become a fan to download the software;
}

and where? where i should put the code :p I barely know how to use Facebook...



I really apreciate your help... thanks
0
Comment
Question by:rperezretana
  • 2
3 Comments
 

Expert Comment

by:tkmluv
ID: 34881319
On that second page they tell you the code to do it. I havent been able to get it to work on one of my fan pages though.

<!-- start non-fan part -->
<div class="top">
Become fan to download the software
</div>
<!-- end non-fan part -->

<fb:fbml version="1.1">
 <fb:visible-to-connection>

here is the download link

 </fb:visible-to-connection>
</fb:fbml>

Open in new window


You can try this in PHP

IF($_REQUEST['fb_sig_is_fan'] === 1){
echo "Here is the download link";
}else{
echo "Become a Fan";
}

Open in new window

0
 
LVL 1

Accepted Solution

by:
rperezretana earned 0 total points
ID: 34884099
OK I made it,

In your web page of FaceBook, you have to add a FBML tab, there, in side you can post the code you need, by example:

<!-- start non-fan part -->
<div class="top">
Become fan to download the software
</div>
<!-- end non-fan part -->

<fb:fbml version="1.1">
 <fb:visible-to-connection>

here is the download link

 </fb:visible-to-connection>
</fb:fbml>

then save and then only your fans can see the special content :)

but I was confused... how to add an FBML tab in facebook?

In in the part where you manage the page, there is a link in the left, to manage applications, there you can add a FMBL tab and edit it later. :)

uff thanks for answer anyway, it takes me some time to solve it. I could in my web page but I did it in my Facebook page:

http://www.facebook.com/pages/TabsFun-Acordes-Letras/129107657158608?v=app_4949752878



0
 
LVL 1

Author Closing Comment

by:rperezretana
ID: 34924259
It heped to me, and I hope any other that have this problem can sove it :)
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question