My webhost is 000webhost.com I've set up an FB app which needs to post on the user's wall. But FB gives this error "this post contains a blocked URL".
Here is my code
require_once("facebook.php");
$facebook = new Facebook(array( 'appId' => $app_id, 'secret' => $app_secret, 'cookie' => true ));
$attachment = array(
'access_token' => $params['access_token'],
'message' => "Hello, here is a post",
'name' => "",
'link' => "http://www.facebook.com",
'description' => "Write here your description",
);
$result = $facebook->api('/me/feed', 'POST', $attachment);
What is wrong? Why am I getting this error?