Title: Avoid
Last modified: September 2, 2016

---

# Avoid

 *  [Ryan](https://wordpress.org/support/users/manovfaith/)
 * (@manovfaith)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/avoid-2/)
 * Installed and went to enter App Id ID and Secret and then selected “save”. Nothing
   happened. Tried a few times. Nothing.

Viewing 1 replies (of 1 total)

 *  [sotaynauan](https://wordpress.org/support/users/sotaynauan/)
 * (@sotaynauan)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/avoid-2/#post-7775564)
 * When saving WP will perform a certificate check (to get app access token). If
   you have not upgraded the certificate lists on your PHP install, this will cause
   that error.
 * You can either update the certification authority lists in your PHP install, 
   or you can add the ‘sslverify’=>false flag to the arguments list for wp_remote_get
   to make it ignore the certification verification.
 * Goto line 263 in ../wp-content/plugins/facebook/includes/facebook-php-sdk/class-
   facebook-wp.php
 *     ```
       ...
       $response = self::handle_response( wp_remote_get( self::$DOMAIN_MAP['graph'] . 'oauth/access_token?' . http_build_query( array( 'client_id' => $app_id, 'client_secret' => $app_secret, 'grant_type' => 'client_credentials' ), '', '&' ), array(
       				'redirection' => 0,
       				'httpversion' => '1.1',
       				'timeout' => 5,
       				'headers' => array( 'Connection' => 'close' ),
       				'user-agent' => self::generate_user_agent(),
       				'sslverify'=>false,
       			) ) );
       ...
       ```
   
 * NOTE: You also need to correct at the line 92

Viewing 1 replies (of 1 total)

The topic ‘Avoid’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook_526fac.svg)
 * [Facebook](https://wordpress.org/plugins/facebook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [sotaynauan](https://wordpress.org/support/users/sotaynauan/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/avoid-2/#post-7775564)