forkcms/module-twitter — pull request #2 by jessedobbelaere (2013-05-10 15:41:15+00:00)
Title: Blank page on redirect to Twitter auth page

I'm experiencing some problems with the Twitter module as described in #1. I get an error when creating a new twitter widget. The widget is created but not approved (it says "not approved" in the datagrid). When I click on the "approve" link, I get a blank page.

I tried walking through the code with my debugger and on line 2735 of the `oAuthAuthorize()` function in the twitter Library file, a redirect happens to the twitter auth page. When I visit this url manually, I see the twitter authorization page and I can authorize my twitter application. So the url seems to be valid, but I'm not redirected.

Adding the `exit(0)` fixed my problem: I'm not getting a blank page anymore, I see the twitter auth page and I can authorize the app and let Fork retrieve my tweets. (I still get the error of #1 when I create the widget).