Browser doesn't recognize fb:redirect

Jun 27, 2008 at 3:32 PM
Edited Jun 27, 2008 at 3:33 PM

I've created a very basic application using ASP .NET and the Facebook Developer Toolkit.


public partial class _Default : CanvasFBMLBasePage
new protected void Page_Load(object sender, EventArgs e)
base.Api = Config.FACEBOOK_API_KEY;
base.Secret = Config.FACEBOOK_SECRET;
base.Page_Load(sender, e);

if (!IsPostBack)
Facebook.Entity.User user = this.FacebookAPI.GetUserInfo();
Collection<Facebook.Entity.User> f = this.FacebookAPI.GetFriends();
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

    Hello World!

If I now start debugging my Website, the Browser starts with a blank page. The source code looks like this:
<fb:redirect url="[myApiKey]&v=1.0"/>

Why is there no redirect within the browser?

What am I doing wrong?