Cannot update statuses with newline character

status
ios
fabric

#1

I’m using fabric twitterKit on iOS, swift.

When I request POST to 1.1/statues/update.json with a status text including new line character (’\n’),
it always fail with ‘{“errors”:[{“message”:“Could not authenticate you”,“code”:32}]}’.

How can I fix this problem?


#2

@pulit_contact,

Authentication shouldn’t have anything to do with the status text being posted. Are you sure you’re using the Fabric created Twitter consumer key instead of another one?

-Mike


#3