Command Line
for Facebook
Help‎ > ‎

Troubleshooting

PHP

  • To troubleshoot general PHP stuff, try executing the test_php.php file that was included in the \support directory your FBCMD distribution:
    php test_php.php
    Try passing in parameters to see if they are being received properly.
    php test_php.php one two three
  • If you are receiving a message: "Warning: fopen(): URL file-access is disabled in the server configuration":
    locate your php.ini file and set allow_url_fopen to 1 (or On)
  • if openssl loaded is empty [], then you may not be able to use the fbcmd Update Utility properly.

Connecting to Facebook

  • try executing the test_fb_connect.php file that was included in the \support directory your FBCMD distribution.
    It will try to connect to Facebook as a test account.
  • If the username from that test script is blank OR FBCMD just doesn't appear to do anything,
    ensure allow_url_fopen is set to 1 (or On) in your php.ini file.

Permission Errors

  • click (here) to grant FBCMD the READ_STREAM permissions
  • click (here) to grant FBCMD the PUBLISH_STREAM permissions
  • click (here) to grant FBCMD the READ_MAILBOX permissions

Out of Memory

  • If you are getting the following error:
    [1] An unknown error occurred (out of memory) 
    This is a Facebook error, not a PHP error: It's a known bug.