ttools/ttools — pull request #17 by 0x46616c6b (2014-09-28 20:50:02+00:00)
Title: remove params from post body, try to get user credentials directly from ...

I have a strange behavior since my last TTools Update. I have credentials from Twitter but the `App::isLogged()` is always false.
So I investigating for a while and find the issue in `App:: getLoggedUser()`. I use a "Single User Application" but I store the Credentials per User in Database, so the `$this->storage->getLoggedUser()` is everytime null. So I wrote a little wrapper around the `App` Class. Before I updated the vendors it works well. So I add a lookup to the credentials directly to Twitter and if there are a connected User the result will not fail. In my case it works.

Another problem was, that all POST requests to Twitter was failing with no error message in the response. Only the HTTP Code 500 returned and nothing more. Its one example more why twitter have a very bad API design. Anyway, so for this problem I found the solution, I removed the `$params` from the request. I looked into this problem with the api console and figured out that they make POST requests always without a body, instead they use the url params.

It would be great if you can dive into that case and play around with this scenario or if I make a error in using the lib it would great if you or anybody can help me.