Hello, add a new post with a picture on the page on Facebook

$fb->post("/{$group_id}/photos", array( 'message' => 'This is a \\u000A test message \\n #aaa #bbb', 'url' => 'http://lurkmore.so/images/3/31/Yoba_Best_01.jpg', ), $token); 

But I just can’t get to write from the new line, I tried <br/> , \n , <center></center> \n . Tell me, how can I do? It is necessary to write hashtags, not beautiful when they are not from a new line.

    3 answers 3

    try to conclude this part of the string "\r\n" , always in double quotes, should work.

    • Anyway, this text is simply displayed in those double quotes and that's it. - Anatoly Artemenko

    If you post on a wall - can it be banal <br/> to try? .... \ r \ n Translates to a new stock for titles like:

    • <br/> also tried, does not work, just displayed. - Anatoly Artemenko

    The problem is solved, it was necessary to print the test in double quotes, then \ r \ n leads to a line break

    • or do it like this "test". "\r\n" "test". "\r\n" , which I originally meant - Bogdan Gudyma