I was wondering if anyone could help me.. I've had a painful week or so trying to get a C# .NET facebook application working... I seem to have most of it, but for some strange reason when I 'invite' friends to add my application using the standard facebook
control I am redirected to 'http://apps.facebook.com/myapp/index.php' instead of 'http://apps.facebook.com/myapp/default.aspx'. This occurs when I have clicked on the 'Send' button to invite to the friends I have selected.. The invite is sent, but I am redirected
to the wrong page.
Also, when the friend I've sent the invite to adds the application, they are redirected to the correct page I have set up for them, which is the same 'invite' friends page above. If they click 'Skip', they are also redirected to index.php instead of default.aspx
(which inherits from CanvasIFrameBasePage).
I know I must be missing something in the facebook settings, but I can't see it... I have the CanvasPage Url set to my applciation directory, and I have the Callback Url set to be the root of my web site directory, i.e. http://xxx.xxx.com/myapp/
Is there something obvious I'm missing? I'd really appreciate some help while I still actually have some hair left :)
It's always the way - after hours, days or even weeks of staring at the same code over and over without success, you post a thread and then find the problem!
I hadn't changed the action in my request form, so it was going to index.php! DOH (I copied the code from somewhere...
slap on the wrists)
For anyone new that doesn't know what I mean:
content="<% Response.Write(_messageContent); %>"
Anyway, back to more happy happy Facebook development :)