I have some problem with type conversation in this code (working with Facebook PHP SDK 3.0.1):
$page_id = 192485754113829;
$post_limit = 2;
$query = \"select po
$query = "select post_id, source_id, actor_id, target_id,
created_time, likes, message, attachment, comments
from stream where source_id = '$page_id' LIMIT $post_limit ";
would work.
Or if you want to use concatenation :
$query = "select post_id, source_id, actor_id, target_id,
created_time, likes, message, attachment, comments
from stream where source_id = ".$page_id." LIMIT ".$post_limit;