Post-Authorize Redirect URL problem

Oct 1, 2008 at 8:54 AM
Edited Oct 1, 2008 at 8:54 AM
Hi everybody,

I have a small problem with the Post-authorize Redirect URL. When it's blank it redirect to the default.aspx web page there is no problem. But now I want to insert some stuff on a database just after the user allow the application. So I decided to redirect to a new page who do the job but after people allow the application the url where they are redirected is wrong.

If I want to redirect to mypage.aspx that's what is happening

http://apps.facebook.com/myapp/mypage.aspdefault.aspx?auth_token=97ad971bdfe62e880353cb389a29&installed=1

I just need to get rid of the default.aspx added by facebook.

Any idea?
Oct 2, 2008 at 8:54 AM
is your redirect url of the form http://apps.facebook.com/myapp/page.aspx? 

not sure why it should be messing with your url like that... but I've been experiencing some odd problems with facebook of late, it may just be the switchover to the new api that's screwing things up temporarily
Oct 2, 2008 at 10:08 AM
In the form I had that:

http://apps.facebook.com/myapp/mypage.aspx

But after posting here I found a small trick on the facebook forum to add ?a=b so they append the default.aspx after the b and then you reach the right page ;) Not really clean but it do the job.

I'm still looking for a clean way to do it ;)
Oct 2, 2008 at 10:26 AM
very odd! thanks for posting that though, might be something useful to keep a note of.