We released our Facebook application Am I Interesting (http://apps.facebook.com/amiinteresting) earlier this week, and have since then gotten complaints that the application cannot be accessed from mobile phones, both iPhone and Android. So I tried from my fiancé’s phone, and after realizing that I had to configure a mobile URL in the Facebook application settings, I can replicate the problem and get this error message:
The mobile version of the app "Am I Interesting" is unavailable because it is misconfigured. It appears to be caught in a redirect loop.
The Facebook application configuration setting for Mobile Web URL points to http://www.amiinteresting.net.
The first redirect to the application, which is to www.amiinteresting.net (as configured), works fine. The error occurs after choosing to login and we use the Facebook C# SDK to authenticate and redirect back to the application. That redirect goes to apps.facebook.com/amiinteresting, which is what we want the “normal” web redirect to go to, but it seems that the mobile web applications for Facebook need their own domain and shouldn’t use the apps.facebook.com/XXXX format. But that's just a hypothesis of mine.
Here’s my configuration in web.config:
<facebookSettings
appSecret="xxxxxx"
appId="xxxxxx"
canvasPage="http://apps.facebook.com/amiinteresting/"
canvasUrl="http://www.amiinteresting.net/"
secureCanvasUrl="https://www.amiinteresting.net" />
Is anyone aware of this problem and know how to fix it? I’m using version 5.3.2.0 of the SDK.
Thank you very much in advance!
// Peter
PS. My problem seems to be the same as this question: mobile version of Facebook app going into redirect loop DS.