FriendsOfSymfony / FOSFacebookBundle

NOT MAINTAINED - see https://github.com/hwi/HWIOAuthBundle
322 stars 140 forks source link

Invalid IPv6 configuration on server #312

Open Maxwell2022 opened 10 years ago

Maxwell2022 commented 10 years ago

I'm getting this error that is apparently generated by cURL in the Facebook SDK. It says that the way to fix it is to specify the curl option to use IPV4 only.

self::$CURL_OPTS[CURLOPT_IPRESOLVE] = CURL_IPRESOLVE_V4;

I'm wondering where should I put this line of code. Can I overwrite the fos_facebook service?

diegoholiveira commented 10 years ago

Send a PR fixing it.

Maxwell2022 commented 10 years ago

Before sending a PR I just want to know if there is a way to set cURL options in the current bundle (even if I didn't see it).