I’ve seen apps post links with “captions” to user’s walls and they have a newline in them. Foursquare is one of these apps.
I cannot figure out how to get a newline recognized and I’ve tried everything, including just passing in “\r\n”, “\n”, etc.
(note: I’m talking about publishing to a user’s wall — http://developers.facebook.com/docs/reference/api/post/)
Turns out the way to do this easily is to provide both
captionanddescriptionparameters with the HTTP POST. Caption will be the first line, and Description will act as the second.