$facebook->api('https://graph.facebook.com/me/learnthrusong:listen?song=https://www.learnthrusong.co.uk/index.php?option=com_muscol&view=song&id=164','POST');
var req = new Request({
method: 'get',
url: postObj // this is the url to the php file I use to process that includes the id of the song
}).send();
// presumably I need to include this file, right?
require_once JPATH_ROOT . DS . 'components' . DS . 'com_jfbconnect' . DS . 'libraries' . DS . 'facebook.php';
$fbLibrary = JFBConnectFacebookLibrary::getInstance();
$fbLibrary->api('https://graph.facebook.com/me/learnthrusong:listen?song=https://www.learnthrusong.co.uk/index.php?option=com_muscol&view=song&id=164','POST');
require_once JPATH_ROOT . DS . 'components' . DS . 'com_jfbconnect' . DS . 'libraries' . DS . 'facebook.php';
$fbLibrary = JFBConnectFacebookLibrary::getInstance();
$fbLibrary->api('https://graph.facebook.com/me/eventhread:attend?event=http://demo.eventhread.com/index.php?option=com_community&view=events&task=viewevent&eventid=4703&groupid=1464&Itemid=238','GET');
Warning: Invalid argument supplied for foreach() in /homepages/45/d391709137/htdocs/eventhread-site/administrator/components/com_jfbconnect/assets/facebook-api/base_facebook.php on line 858
Warning: http_build_query() [function.http-build-query]: Parameter 1 expected to be Array or Object. Incorrect value given in /homepages/45/d391709137/htdocs/eventhread-site/administrator/components/com_jfbconnect/assets/facebook-api/base_facebook.php on line 893
require_once JPATH_ROOT . DS . 'components' . DS . 'com_jfbconnect' . DS . 'libraries' . DS . 'facebook.php';
$jfbcLibrary = JFBConnectFacebookLibrary::getInstance();
$args = array();
$args['article'] = 'http://site.com/link-to-full-article.html';
$jfbcLibrary->api('me/news.reads', $args);
$args['event'] = 'http://demo.eventhread.com/index.php?option=com_community&view=events&task=viewevent&eventid=4703&groupid=1464&Itemid=238';
$fbLibrary->api('me/eventhread:attend', $args);
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.