Test Post Action to Facebook PHP SDK

Posted on

try {
$fblikes = $facebook->api(‘/me/bigmechanic:grab’, ‘post’,
array(

‘wipers’ => ‘http://www.bigmechanic.com/promo-page.html‘,
‘access_token’ => $facebook->getAccessToken()
));

} catch (FacebookApiException $e) {
echo $e->getMessage();
}

print_r($fblikes);

Leave a Reply

Your email address will not be published.