J7mbo/twitter-api-php — pull request #89 by pittaya (2014-11-27 10:54:35+00:00)
Title: fix oath signing when using POST

My attempt to fix #70 - The PHP cURL will use content-type "multipart/form-data" if data in post fields is an array. To use content-type "application/x-www-form-urlencoded", I need to convert post fields to string using http_build_query().

According to POST spec, we also need to include the post fields when we call buildBaseString() method.