twerl
twerl copied to clipboard
Incomplete json returned from twitter
Dear All
Thanks for updating this for OAuth!
Quite often the data returned from twitter is not a complete json object. This breaks twerl_util:decode/1.
The content returned from twitter is a stream of json objects separated by "\r\n". These separators do not always coincide with the chunks.
Have you noticed this? I haven't found anything addressing it in any of the forks. Please let me know.
In the meantime I've hacked something together that works.
Best wishes
Ivan