Getting "error loading page" when using Sign In with Twitter on mobile browser


I’ve built a mobile friendly version of our website’s registration page, which you can get to here on a mobile device (I’m using an iPhone): At the bottom, there is a button to sign in with Twitter.

If you ARE logged into Twitter already via the mobile browser OR the Twitter mobile app, clicking the Sign In with Twitter button results in a yellow box that says “Error Loading Page”.

If you then log out of twitter via the web or mobile app and go back and click on that button, you will get the Twitter login page.

This does NOT happen on the main website. I’m completely lost as to what the problem could be.

I’m using codeigniter and the Twitter library by Ben Sekulowicz-Barclay (and oauth library by Abraham Williams).

I appreciate any help anyone can provide.