$non_sef_uri = 'index.php?option=com_mycomp&view=myview&gid='.$new_id;
$args = array();
$args['goal'] = 'http://'.$_SERVER['SERVER_NAME'].'/'.$non_sef_uri;
$fbClient->api('me/mybucketlist_app:complete', $args);
// Always include the 'object' argument as some actions want the generic, others want the specific.
$args['object'] = $url;
$args[strtolower($object->type)] = $url;
// Always include the 'object' argument as some actions want the generic, others want the specific.
$canvasUrl = str_replace('http://yourdomain.com', 'https://apps.facebook.com/namespace', $url);
$args['object'] = $canvasUrl;
$args[strtolower($object->type)] = $canvasUrl;
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.