WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
Configuring SFC for Client (3 posts)

  1. Chris
    Member
    Posted 3 years ago #

    I've configured SFC for a client, and had it successfully auto-posting to their Facebook profile when I published a post. However, the client scheduled a post this morning and nothing posted.

    My question is - does the client have to set up the keys/authentication on her browser for this to work? I was thinking I could configure and then it would work the same for her.

    Troubleshooting the issue, I was given this error when I tried to publish a post:

    Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Session does not match current stored session. This may be because the user changed the password since the time the session was created or may be due to a system error.' in /home2/username/public_html/blog/wp-content/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php:3112 Stack trace: #0 /home2/username/public_html/blog/wp-content/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php(1805): FacebookRestClient->call_method('facebook.users....', Array) #1 /home2/username/public_html/blog/wp-content/plugins/simple-facebook-connect/sfc-publish.php(403): FacebookRestClient->users_hasAppPermission('publish_stream') #2 /home2/username/public_html/blog/wp-content/plugins/simple-facebook-connect/sfc-publish.php(296): sfc_publish_automatic(177, Object(stdClass)) #3 /home2/username/public_html/blog/wp-includes/plugin.php(395): sfc_publish_auto_check('publish', 'draft', Object(stdClass)) #4 /home2/username/ in /home2/username/public_html/blog/wp-content/plugins/simple-facebook-connect/facebook-platform/facebookapi_php5_restlib.php on line 3112

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 3 years ago #

    It should work as any page administrator, however it stores the credentials and session and such. In other words, if you configure it as you, then when it auto-posts, it auto-posts *as if you were doing it*.

    This becomes a problem when setting it up for other people. For example, if I'm a Page admin, and I set it up as me, then it will work. But when the job is done and they take away my page admin rights, then it can't post anymore. Because of this, it's best to set it up *as the client*, with their credentials. This means you need their FB password.

    Also, if the user whom it's pretending to be when it posts actually changes their Facebook password, the session becomes invalidated. The fix for this is to go to the SFC Settings page and just resave. The act of saving the page makes the plugin talk to Facebook and get the current valid session.

  3. Chris
    Member
    Posted 3 years ago #

    Thanks for the reply Otto.

    My problem was that the user was an Editor not an Administrator.

    I've been trying to use White Lable CMS plugin to show clients only what they need to see, but unfortunately it is not compatible with other plugins that we need.

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic