Statuses/update: Is it possible to have newlines in tweet submitted via API?


#1

Hi everyone!

I’m currently trying to add functionality to my app that allows me to post tweets that contain newlines via the POST statuses/update endpoint, like so:

"Art Feature: title, by artist!

Prints: link1
Digital: link2"

I’ve tried putting \n into the string to be submitted, but the API prints it literally instead of interpreting it as a newline character. Does the API support putting newlines in tweets, or is it not possible at the moment?


#2

This can be closed now - it turns out I was half asleep and was putting \n in my strings for some reason. Silly me!


#3