I\'m getting started with the facebook API. I downloaded the example code from facebook, configured with my appID and secret keys.
I've checked the server config and everything seems fine. However I've seen a few other posts on the internet where users have fixed the issue by editing the following lines in
"base_facebook.php"
/** * Default options for curl. */
public static $CURL_OPTS = array(
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 60,
CURLOPT_USERAGENT => 'facebook-php-3.2',
CURLOPT_SSL_VERIFYPEER => false, (ADDED THIS LINE)
);
I've tested it and this now works, and it successfully posts to the Facebook page.
Cheers!
Mudassar Ali