Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
I am using following code to Post on facebook from my c# .net application:

C#
var fb = new FacebookClient(token);
   string url = string.Format("{0}/{1}", uid, "feed");
   var argList = new Dictionary<string,>();
   argList["message"] = phought; //message to be posted
   argList["link"] = VIDEOURL;
   object postId = fb.Post(url, argList);


But when my post contains newline character for eg:

Hi
I 
am
going
out

It is displayed as:

Hi \ni \nam \ngoing\nout


I want my code to display the output as it is on the facebook wall as i have shared without showing html chars kindly help
Posted
Updated 18-Apr-13 23:23pm
v2

1 solution

There was a discussion about this at stackoverflow.com:
see here[^]
Seems like it is a know bug, but facebook have not commented it officially, yet.

cheers,
Marco
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900