Solved

Facebook Page Fans

Posted on 2011-02-12
3
605 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

863 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now