Reference Guide

facebook FBML Reference Guide Page 146 of 159
Requirelogin
Description
You can add the attribute requirelogin to anchor tags to ensure that the user will be logged in before accessing
the anchor link.
A user who is not logged in to your application and clicks on a link with requirelogin=1 will see a popup dialog
prompting them to log into your application. A user who is already logged in to your application (has a valid
session) will be able to follow through to the link as they normally would.
Examples
<a href="http://www.somewheretogo.com/loggedinusersonly.php" requirelogin=1>
You must be logged in to follow me</a>
www.yapish.com