I have a question about the auto publish to facebook feature. by default this plugin looks for any embeded videos and automatically generate thumbs for that video . In my theme I have a custom field "video" which contains the Youtube URL of video. Now what I want is to make some change in the code in the "simple-facebook-connect/sfc-publish.php" File so that it take the youtube URL from the custom Field " Video" and generate thumbnails so that this thumbnail can be used when the plugin publsih this post to facebook.
I tried this code but it is not working. In my theme I am generating thumbs using the same method.
$youtubeid = get_post_meta($post->ID, "video", true); $url = parse_url($youtubeid); parse_str($url['query']); array_unshift($images, "http://img.youtube.com/vi/$v/1.jpg");