On line 189 in autofacebook.php I noticed this:
/**
* Run the plugin when onAfterContentSave is triggered
*/
function onAfterContentSave( &$article, $isNew )
If I add a line and change it to this, would this be the correct way to add this function?
/**
* Run the plugin when onAfterContentSave is triggered
*/
function onAfterContentSave( &$article, $isNew )
function onAfterProductCreate( &$element, $isNew )
Also, I put in the application ID for the social networking plugin and now it's sending the photo along with the product info and link.