Skip to content
This repository has been archived by the owner on May 27, 2019. It is now read-only.

Incomplete json returned from twitter #8

Open
llaisdy opened this issue Feb 16, 2015 · 0 comments
Open

Incomplete json returned from twitter #8

llaisdy opened this issue Feb 16, 2015 · 0 comments

Comments

@llaisdy
Copy link
Contributor

llaisdy commented Feb 16, 2015

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant