PHP Classes

How to make it work ?

Recommend this page to a friend!

      Easy Facebook  >  All threads  >  How to make it work ?  >  (Un) Subscribe thread alerts  
Subject:How to make it work ?
Summary:how to make it work ?
Messages:1
Author:Vishwas Gagrani
Date:2012-12-26 21:13:54
 

 


  1. How to make it work ?   Reply   Report abuse  
Picture of Vishwas Gagrani Vishwas Gagrani - 2012-12-26 21:13:54
require './EasyFacebook.php';

$fb = new EasyFacebook('xxxxx','xxxxxxx') ;

$fb->postMessage(
array(
'message' => 'Text of the message',
'name' => 'Name of the textbox',
'link' => 'Link of the textbox',
'description' => 'Description of the textbox',
'picture' => 'Textboxs picture url. It will be on the left side of the textbox',
'privacy'=> array('value'=>'CUSTOM','friends'=>'SELF')
)
);

echo '===>'.$fb->isLiked();

echo 'testing EasyFacebook Class ' ;

?>

But it only displays
===>testing2 EasyFacebook Class
on the facebook canvas page ?

What's the problem ?