Support » Plugin: Simple Facebook Connect » Grant SFC Permissions doesn't get tokens (multisite wordpress)

Viewing 4 replies - 1 through 4 (of 4 total)
  • I found what could be a problem in sfc-base.php, line 186, where the post form redirects to, which is set to “options.php”. This causes the “Page not found” to be shown.

    Adjusting this to “/wp-admin/options-general.php?page=sfc” eliminates the “Page not found” issue when I click the “Grant SFC Permissions” button, but the tokens still aren’t being captured.

    To be more clear about the small window that pops up: I’ve already given permissions for my facebook account to be linked to my facebook app, so it’s not going through the process of asking me if I’m sure I want to grant permission (and to whom I want the postings to be shared with).

    I think there’s an issue with the token being saved, perhaps based on the multisite nature of my install.

    I’d love some help. I’m available to troubleshoot directly.


    Plugin Author Samuel Wood (Otto)


    No, it should be options.php, not options-general.php. The code is correct there.

    If you get a page not found, then you have some other underlying problem, because options.php does exist and is the correct place for it to go.

    Hi Otto,

    Yes, you’re right, options.php exists, but something strange is happening:

    When I click the “Grant SFC Permissions” button a second browser window opens and asks me for permission to connect to the facebook account. When I click ok that window closes. The main window then displays the blog’s “page not found” page, while the URL has a legitimate options.php page address in it.

    I assume that the URL being passed back from facebook (perhaps the link containing the token) is somehow mangled. I’m not sure how to troubleshoot this, I don’t have easy access to my ISPs logfile.


    When I press the “Grant SFC Permissions” button I get an error message after logging in.

    This is the message in Dutch:

    “Er is mogelijk een fout opgetreden tijdens het aanmelden. Je kunt dit venster sluiten en terugkeren naar de toepassing. Mogelijk word je gevraagd om opnieuw aan te melden. Dit is te wijten aan een fout in de toepassing..”

    Which translates to:
    There was an error during logon. You can can close this window and return to the application. You may be asked to login again. This is due to a problem in the application..

    Does this help in resolving this problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Grant SFC Permissions doesn't get tokens (multisite wordpress)’ is closed to new replies.