Title: [Plugin: Facebook Comments for WordPress] Invalid Argument
Last modified: August 19, 2016

---

# [Plugin: Facebook Comments for WordPress] Invalid Argument

 *  [lulapro](https://wordpress.org/support/users/lulapro/)
 * (@lulapro)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-invalid-argument/)
 * Hi!
 * I’m trying to use the Facebook plugin, but i’m hevaing the following error:
 * Warning: file_get_contents([https://graph.facebook.com/oauth/access_token?type=client_cred&client_id=133489290050658&client_secret=50277fb7a2ecc794ced9fd4c6b7292d2](https://graph.facebook.com/oauth/access_token?type=client_cred&client_id=133489290050658&client_secret=50277fb7a2ecc794ced9fd4c6b7292d2))[
   function.file-get-contents]: failed to open stream: Invalid argument in C:\Inetpub\
   vhosts\lula.pro.br\httpdocs\wp\wp-content\plugins\facebook-comments-for-wordpress\
   facebook-comments-functions.php on line 120
 * Any Ideas?
 * Thanx In Advance!
 * [http://wordpress.org/extend/plugins/facebook-comments-for-wordpress/](http://wordpress.org/extend/plugins/facebook-comments-for-wordpress/)

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

 *  Plugin Author [thinkswan](https://wordpress.org/support/users/thinkswan/)
 * (@thinkswan)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-invalid-argument/#post-1908408)
 * lulapro, double check that your FB secret is correct. This usually occurs because
   your app ID or secret are set incorrectly.
 *  Thread Starter [lulapro](https://wordpress.org/support/users/lulapro/)
 * (@lulapro)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-invalid-argument/#post-1908434)
 * Hi Graham ! Thanx for your answer!
 * I already checked before asking here, ‘couse I found in the forum someone with
   a problem similar to mine. I believe the id and secret in the app is the same
   in the url parameters “client_id” and “client_secret”, right? If so, it’s the
   same values (By the way, i don’t know if send the values here like i did was 
   a good ideia..Anyway…).
 * I don’t use the “API Key” of the App anywhere, that’s right?
 * There is anything else for me to try?
 * Thanx again!
 *  [gnomegames](https://wordpress.org/support/users/gnomegames/)
 * (@gnomegames)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-invalid-argument/#post-1908474)
 * Graham – we are getting the same error (different server and key values)
 * Any suggestions would be greatly appreciated.
 * Here’s one post to see the error at:
 * [http://www.gnomegames.com/games/ccgs/magic/magic-super-saturday-series/](http://www.gnomegames.com/games/ccgs/magic/magic-super-saturday-series/)
 * Thanks!
 *  [fantasycouch](https://wordpress.org/support/users/fantasycouch/)
 * (@fantasycouch)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-invalid-argument/#post-1908475)
 * you have 2 errors gnome! i only have 1. basically same thing though. i tried 
   disabling a couple plugins like the share/save addtoany plugin and the facebook
   comment control, but no luck. i didn’t double check my API and secret and ID 
   or whatever because i didn’t have this error before and it was the same info
 * check out my error on any posts like this one:
 * [http://www.fantasycouch.com/fantasy-basketball-trade-targets-feb-2011/](http://www.fantasycouch.com/fantasy-basketball-trade-targets-feb-2011/)
 *  Plugin Author [we8u](https://wordpress.org/support/users/we8u/)
 * (@we8u)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-invalid-argument/#post-1908521)
 * file_get_contents is disabled by most hosting companies since it is a security
   vulnerability when used in conjunction with user input. The development version
   of fbcomments fixes this. It can be downloaded from [here](https://github.com/thinkswan/Facebook-Comments-for-WordPress/zipball/05a695b4e8e919b9d0d2eefede2a99c22d7b6cf6)
   and then installed manually via wp-admin (`http://www.fantasycouch.com/wp-admin/
   plugin-install.php?tab=upload` and `http://www.gnomegames.com/wp-admin/plugin-
   install.php?tab=upload`).
 * shaun
 *  [HopelesslyFlawed](https://wordpress.org/support/users/hopelesslyflawed/)
 * (@hopelesslyflawed)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-invalid-argument/#post-1908523)
 * we8u – thank you very much! I was having this same problem and didn’t get a response
   elsewhere about how to fix it. I really appreciate you taking the time to share
   this. I installed the new plugin and the error has been corrected.
 * Thank you again!
 *  Thread Starter [lulapro](https://wordpress.org/support/users/lulapro/)
 * (@lulapro)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-invalid-argument/#post-1908524)
 * Make HopelesslyFlawed my words, we8u. Thank you, solved this problem!
 *  [gnomegames](https://wordpress.org/support/users/gnomegames/)
 * (@gnomegames)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-invalid-argument/#post-1908526)
 * Thank you very much for the assistance! Our Hats are off to you!
 * Pat Fuge
    The Head Gnome Gnome Games [http://www.GnomeGames.com](http://www.GnomeGames.com)
 *  [fantasycouch](https://wordpress.org/support/users/fantasycouch/)
 * (@fantasycouch)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-invalid-argument/#post-1908577)
 * ok. they finally came out with an update that seems to fix the problem. thanks
   anyway we8

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

The topic ‘[Plugin: Facebook Comments for WordPress] Invalid Argument’ is closed
to new replies.

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

 * 9 replies
 * 6 participants
 * Last reply from: [fantasycouch](https://wordpress.org/support/users/fantasycouch/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-facebook-comments-for-wordpress-invalid-argument/#post-1908577)
 * Status: not resolved