hello
i want to make facebook iframe application using asp.net c#.
how can i make authorization using the developer toolkit 2.0 ?
thank you
hello
i want to make facebook iframe application using asp.net c#.
how can i make authorization using the developer toolkit 2.0 ?
thank you
Hello adveb!
You must have a login button in the markup...
<fb:login-button v="2" size="medium" onlogin="window.location.reload(true);">Connect</fb:login-button>
...and something like this in the Page_Load
event of your callback page:
ConnectSession session = new ConnectSession(API_KEY, API_SECRET);
Api api = new Api(session);
if (session.IsConnected())
{
// User is authenticated
}