In Facebook API I need to know how to tag published pages while posting. Here in this link I found a page using @[page-id]
in the message key but I am not able to tag the pages. Please help me how to do that using my app.
$params = array(
"access_token" => $_SESSION['facebook_access_token'],
//"message" => $_SESSION['address']." Test message",
"message" => "Test message @[19292868552] tag",
"link" => $site,
"picture" => $_SESSION['file_name'],
"name" => "WeAreVapour",
"description" => "Vapor Technology Association"
);
try {
$ret = $fb->post('/me/feed', $params);
echo 'Successfully posted to Facebook';
} catch (Exception $e) {
echo $e->getMessage();
}