Facebook and rtl
- by Benni
Is there any good way to display rtl based languages (in this case Hebrew) in facbook?
As soon as I include a page in rtl formating facebook it gives displays it ltr and usually aligned right.
What definetly works is when I use dir="rtl" in the code.
But then the fbml tag come out the other way round.
And when I try to publish a stream it is not displayed correctly. Is there any support for rtl in facebook?
Here is the code:
$message = "?????? ??? ?? ???? - ??? ??? ????? .\"";
$attachment = array(
'name' => '???? ?? ???? - ?? ??? ??? ?????',
'href' => 'http://apps.facebook.com/igodtest/',
'caption' => '{*actor*} took the Quiz!',
'description' => 'Take the Quiz yourself!',
'media' => array(array('type' => 'image',
'src' => '',
'href' => '')));
$action_links = array(array('text' => '',
'href' => ''));
$attachment = json_encode($attachment);
$action_links = json_encode($action_links);
$facebook->api_client->stream_publish($message,$attachment,$action_links);