bakercp-archive / ofxOAuth

[Archived] An OAuth 1.0 system (via liboauth) with pin-less verification via a mini callback server Examples for Twitter, Tumblr, Vimeo, Fitbit, etc.
MIT License
24 stars 16 forks source link

strange line breaks returned by ofxOAuth::get() #10

Closed wasawi closed 11 years ago

wasawi commented 11 years ago

Hi Christopher, its Jordi, I'm trying your ofxOauth with your ofxJSON for a project involving twitter requests.

When I run your example I get strange line breaks (it looks like the formatting is lost) and ofxJSON can't parse it. I guess there might be a reason why you have it like that.. What am I missing? What is the best way to send the OAuth result to the JSON parser?

Thank you so much for these addons! I could never do anything with Twitter without them!! J

wasawi commented 11 years ago

oh I was running the wrong function to parse the JSON. My bad :)