After an application add, it redirects to my web server?

Aug 10, 2007 at 3:09 AM
After someone adds the application, it is redirecting them to my web server instead of facebooks... e.g.

redirecting to:

instead of: (this is my callback URL and post-add url).

Sep 1, 2007 at 11:47 PM
Did you ever find a solution to this. I'm having the same problem. I've tried a few things but nothing seems to be working properly.
Sep 4, 2007 at 1:03 PM
We have something like the code below in a IHttpModule that forces the site back into the Facebook frame. We are using the FBML model and this works for us. Your mileage may vary.

static void context_BeginRequest(object sender, EventArgs e) {

HttpContext ctx = HttpContext.Current;

if (ctx.Request.RequestType == "GET") // this is equivelent to the facebook->requires_frame()
string newUrl = "" + ctx.Request.Url;

ctx.Response.Redirect(newUrl, true);