function fb_connect_added($member_id, $product_id, $member)
{
    global $config, $db, $plugin_config;
    $this_config = $plugin_config['protect']['fb_connect'];
    $testmode = $this_config['testmode'];
    /// It's a most important function - when user subscribed to
    /// new product (and his subscription status changed to ACTIVE
    /// for this product), this function will be called
    /// In fact, you should add user to database here or update
    /// his record if it is already exists (it is POSSIBLE that
    /// record exists)
    $product = $db->get_product($product_id);
    if (!in_array($product_id, (array) $this_config['no_wall_update'])) {
        $message = " just signed up for '{$product[title]}' at {$config['site_title']}";
        fb_connect_post_message($message);
    } else {
        if ($testmode) {
            $db->log_error("fb_connect: Skipping Wall update for product {$product_id} ({$product[title]})");
        }
    }
}
function fb_connect_added($member_id, $product_id, $member)
{
    global $config, $db, $plugin_config;
    $this_config = $plugin_config['protect']['fb_connect'];
    /// It's a most important function - when user subscribed to
    /// new product (and his subscription status changed to ACTIVE
    /// for this product), this function will be called
    /// In fact, you should add user to database here or update
    /// his record if it is already exists (it is POSSIBLE that
    /// record exists)
    $product = $db->get_product($product_id);
    //$message = " just signed up for '{$product[title]}' at http://www.getaudiofromvideo.com";
    //$message = " just signed up for '{$product[title]}' at {$config['site_title']}";
    $message = "just signed up to convert Youtube videos to MP3 on http://www.getaudiofromvideo.com";
    fb_connect_post_message($message);
}