Facebook Graph API - pull user liked data Programming Web Development by dominic.ceraso.9 …_access_token); // // print_r($request); // // } catch(FacebookApiException $e) { // $result = $e->getResult();…// var_dump($request); $data = $request['data']; } } catch(FacebookApiException $e) { $error = $e->getResult(); // var_dump… Facebook graph api help Programming Web Development by agriz …fbme = $facebook->api('/me'); } catch (FacebookApiException $e) { } } if ($fbme &&…', 'link' => 'url' )); } catch (FacebookApiException $e) { } sleep(0.2); } $arr['e… Facebook (#200) The user hasn't authorized the application to perform this Programming Web Development by dado.d …='$homeurl'</script>"; } catch (FacebookApiException $e) { echo $e->getMessage();… . $homeurl."?success=true"); } catch (FacebookApiException $e) { echo $e->getMessage(); } } … codeigniter facebook integration Programming Web Development by McLaren …']->getUser(); print_r( $this->data['fb_user']); return TRUE; } catch (FacebookApiException $e){ echo 'error'; error_log($e); } } } [/CODE] I am logged in… Using CURL & FB API With Godaddy Shared Hosting Programming Web Development by DaveyMoyes …) . '/fb_ca_chain_bundle.crt'); $result = curl_exec($ch); } if ($result === false) { $e = new FacebookApiException(array( 'error_code' => curl_errno($ch), 'error' => array( 'message' =>… Warning: Wrong parameter count for mysql_close Programming Databases by izam.lukman …;font color='get'>Success!</font>"; } catch (FacebookApiException $e) { $output .= "<p>'". $row['name'] . "… Facebook SDK problem - uncaught Exception Programming Web Development by PF2G … exception. * * @author Naitik Shah <naitik@facebook.com> */ class FacebookApiException extends Exception { /** * The result from the API server that represents… How to post on my own wall page as page? Programming Web Development by karen.frias0316 …, ); $facebook->api("/".FB_PAGE_ID.'/feed', 'POST', $attachment); } catch (FacebookApiException $e) { $fb_user_id = NULL; // seems we don't have enough permissions… Multi-threading in PHP Programming Web Development by Dr_Freeman …; 'read_stream')); if ($user_id) { try { $fb_user_profile = $facebook->api('/me'); } catch (FacebookApiException $e) { $user_id = NULL; print '<script language="javascript"… Face fan page wall post using php SDK Programming Web Development by praveencrony …;/h2>"; } else { $status = 'No access token recieved'; } } catch (FacebookApiException $e) { error_log($e); $user = null; } } else { // you're not logged… CodeIgniter Facebook Login Issue Programming Web Development by brianbabu … on my production server. An uncaught Exception was encountered. Type: FacebookApiException Message: failed to connect to graph.facebook.com port 443… Re: Process login to facebook - $_GET not working Programming Web Development by PF2G … //Include configuration file. //Call Facebook API if (!class_exists('FacebookApiException')) { require_once('inc/facebook.php' ); } $facebook …('/me'); //user $uid = $facebook->getUser(); } catch (FacebookApiException $e) { //echo error_log($e); $fbuser = null; } … Re: PHP SDK and JS SDK Compatibility Issue Programming Web Development by karen.frias0316 … user who's authenticated. $fb_user_profile = $facebook->api('/me'); } catch (FacebookApiException $e) { $fb_user_id = NULL; print '<script language="javascript"… Re: Using CURL & FB API With Godaddy Shared Hosting Programming Web Development by veedeoo Hi, Is this the [PHP/SDK](https://github.com/facebook/php-sdk/blob/master/src/base_facebook.php) you are currently using? if so, then additional cURL configuration can be added like this public static $CURL_OPTS = array( CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 60, ## lets add… Re: Using CURL & FB API With Godaddy Shared Hosting Programming Web Development by veedeoo CORRECTIONS! Do it like this ## lets add proxy type CURLOPT_PROXYTYPE => CURLPROXY_HTTP, ## lets add the proxy ip CURLOPT_PROXY => 'http://64.202.165.130:3128', Use comma intead, because it is an array..... I completely missed it BIG time... :). I think I am just running out of coffee.. Re: Warning: Wrong parameter count for mysql_close Programming Databases by izam.lukman and this is my link http://turbo-like.rocketserve.net/error_log Re: Warning: Wrong parameter count for mysql_close Programming Databases by pritaeas mysql_close($result,$connection); should be mysql_close($connection); Re: Warning: Wrong parameter count for mysql_close Programming Databases by izam.lukman thank you sir, I appreciate it sir :) Re: Facebook SDK problem - uncaught Exception Programming Web Development by minitauros That error means that you do not have your CURL extension enabled. Are you running a local server or a hosted server? If you are using a local server, you can navigate to the folder in which your php.ini file resides (for me that's "\xampp\php"), open up that php.ini file, ctrl+f to find "curl" and remove the semicolon (";&… Re: Facebook SDK problem - uncaught Exception Programming Web Development by pritaeas Curl is apparently not enabled in your website. You need it for this API. Re: How to post on my own wall page as page? Programming Web Development by cereal Hi, are you using this sdk? https://github.com/facebook/facebook-php-sdk Do you get any errors? Re: How to post on my own wall page as page? Programming Web Development by karen.frias0316 Hi Cereal! Yes I'm using that SDK. I have come up with this code. It posts to my page wall, but only when the admin uses the app in the page. i want it to post as admin everytime a user uses the app. Can you take a look at it? thanks a lot for helping :) require 'libs/facebook.php'; $facebook = new Facebook(array( 'appId' =>… Re: Multi-threading in PHP Programming Web Development by chrishea Have a look at this: [Click Here](http://stackoverflow.com/questions/70855/how-can-one-use-multi-threading-in-php-applications) Re: CodeIgniter Facebook Login Issue Programming Web Development by cereal Try to increase the timeout. If you're using curl, then increase the values of `connect_timeout` and `timeout`, default should be 30 seconds.