Title: API Communication Error
Last modified: February 19, 2019

---

# API Communication Error

 *  Resolved [carolinemarsland](https://wordpress.org/support/users/carolinemarsland/)
 * (@carolinemarsland)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/api-communication-error/)
 * Hi there,
 * I’ve gone through the Basic Troubleshooting post and had a quick skim through
   the past support posts, but can’t seem to find anything that solves my problem.
   I’ve used WP Chatbot before on a different site and had no problems whatsoever.
 * I have very few plugins activated and this is the only one, I think, that uses
   Facebook’s SDK.
 * The problem comes when I click the “Connect to your Facebook page” button, it
   loads then gives these two error messages:
 * Warning: Invalid argument supplied for foreach() in /var/www/carolinemarsland.
   co.uk/html/wp-content/plugins/wp-chatbot/inc/MobileMonkeyApi.php on line 254
 * Warning: Invalid argument supplied for foreach() in /var/www/carolinemarsland.
   co.uk/html/wp-content/plugins/wp-chatbot/inc/MobileMonkeyApi.php on line 254
 * And, on the site itself:
    [http://www.carolinemarsland.co.uk](http://www.carolinemarsland.co.uk)
   Once the plug in is activated a bar at the top appears which says: API communication
   error. Please try again later.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fapi-communication-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [dangolder](https://wordpress.org/support/users/dangolder/)
 * (@dangolder)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/api-communication-error/#post-11224497)
 * Hi Caroline,
 * Sorry about this error. I’m going to pass it to our Engineering team and see 
   if they can sort it out for you.
 * I’ll be back in touch soon.
 * Best,
    Dan Golder
 *  [holysheepcoder](https://wordpress.org/support/users/holysheepcoder/)
 * (@holysheepcoder)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/api-communication-error/#post-11225277)
 * Hi, Carolina
 * Did you manage to log in to your FB account using Facebook Connection Button?
   Do you see the list of available pages for connection?
    The error you are talking
   about is not related to this, but as far as I can see, you do not have an SSL
   certificate installed. This is a prerequisite for the Facebook SDK.
 * Best,
    Alexey Kapustsin
 *  Thread Starter [carolinemarsland](https://wordpress.org/support/users/carolinemarsland/)
 * (@carolinemarsland)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/api-communication-error/#post-11238651)
 * Hi there,
 * Thank you for the quick reply!
    I will get an SSL certificate installed and see
   if that fixed the issue.
 * Thank you again for your help,
    Caroline
 *  [tgianellimobilemonkey](https://wordpress.org/support/users/tgianellimobilemonkey/)
 * (@tgianellimobilemonkey)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/api-communication-error/#post-11274470)
 * Marking this as resolved.
 *  [Vizear](https://wordpress.org/support/users/vizear/)
 * (@vizear)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/api-communication-error/#post-11346571)
 * Hi, I’m still having the same API error on my site, I’ve installed a SSL, cleared
   my Facebook connection with the plugin and cleared my cache to no avail.
 * Any suggestions?
 *  [tgianellimobilemonkey](https://wordpress.org/support/users/tgianellimobilemonkey/)
 * (@tgianellimobilemonkey)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/api-communication-error/#post-11359510)
 * [@vizear](https://wordpress.org/support/users/vizear/)
 * Thank you for reaching out!
 * I forwarded your issue to my engineering team. I expect a reply from them in 
   the next 24 hours. I will follow up and resolve this issue for you.

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

The topic ‘API Communication Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-chatbot_8774f8.svg)
 * [WP-Chatbot for Messenger](https://wordpress.org/plugins/wp-chatbot/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-chatbot/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-chatbot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-chatbot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-chatbot/reviews/)

## Tags

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

 * 6 replies
 * 5 participants
 * Last reply from: [tgianellimobilemonkey](https://wordpress.org/support/users/tgianellimobilemonkey/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/api-communication-error/#post-11359510)
 * Status: resolved