Title: Cannot save App ID
Last modified: August 21, 2016

---

# Cannot save App ID

 *  [rwylie81](https://wordpress.org/support/users/rwylie81/)
 * (@rwylie81)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/cannot-save-app-id/)
 * Hi
 * I am having trouble with saving the App ID
 * I have a hosted site that doesn’t have SSL
 * I have tried what I can figure out of using a plugin with the code:
 * add_filter(‘https_ssl_verify’, ‘__return_false’);
 * but it’s not helping
 * can anyone help?
 * [https://wordpress.org/plugins/facebook/](https://wordpress.org/plugins/facebook/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [eaglend](https://wordpress.org/support/users/eaglend/)
 * (@eaglend)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/cannot-save-app-id/#post-5001075)
 * I have the same probleme?
    i saw in data base -> table wp_options [ facebook_application][
   a:0:{} ] there is a way to put directly the App ID in data base?
 * thank for any help.
 *  [eaglend](https://wordpress.org/support/users/eaglend/)
 * (@eaglend)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/cannot-save-app-id/#post-5001082)
 * ok it works for me
    I copied into the database, content field ‘facebook_application’
   of an old instalation of another website.
 * a:3:{s:6:”app_id”;s:15:”XXXXXXXXXXXXXX”;s:10:”app_secret”;s:32:”YYYYYYYYYY”;s:
   12:”access_token”;s:43:”XXXXXXXXXXXXXX|ZZZZZZZZZZZZZZZ”;}
 * and i paste it in the database of my new instalation
    so it works for the moment.
   I hope soon a new update to fix bug of this plugin
 *  [ajoull](https://wordpress.org/support/users/ajoull/)
 * (@ajoull)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/cannot-save-app-id/#post-5001125)
 * [@eaglend](https://wordpress.org/support/users/eaglend/)
 * Where can I get “access_token”?
 *  [mkulma](https://wordpress.org/support/users/mkulma/)
 * (@mkulma)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/cannot-save-app-id/#post-5001135)
 * The problem is facebook has set a five second timeout on their access token request.
   The request times out and the form values are not saved.
 * I fixed this by increasing the timeout to 10 seconds.
 * The code can be found on line 234 in:
    facebook/includes/facebook-php-sdk/class-
   facebook-wp.php
 *     ```
       try {
          $response = self::handle_response( wp_remote_get( self::$DOMAIN_MAP['graph'] . 'oauth/access_token?' . http_build_query( $params, '', '&' ), array(
       	'redirection' => 0,
       	'httpversion' => '1.1',
       	'timeout' => 5,
       	'headers' => array( 'Connection' => 'close' ),
       	'user-agent' => self::generate_user_agent()
         ) ) );
   
       } catch( WP_FacebookApiException $e ) {
       	return '';
       }
       ```
   
 * I just replaced the ‘timeout’ value of 5 with a larger number.
 *  [djkouza](https://wordpress.org/support/users/djkouza/)
 * (@djkouza)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/cannot-save-app-id/#post-5001139)
 * I just was having the same issue, and realized that in my Facebook App Settings
   I had a server White List setup. Had to add the new server IP to that list and
   then it took as expected.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Cannot save App ID’ 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/)

## Tags

 * [sslverify](https://wordpress.org/support/topic-tag/sslverify/)

 * 5 replies
 * 5 participants
 * Last reply from: [djkouza](https://wordpress.org/support/users/djkouza/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/cannot-save-app-id/#post-5001139)
 * Status: not resolved