Forums

Simple Facebook Connect
[resolved] API Error Code 102 (10 posts)

  1. ddabney
    Member
    Posted 8 months ago #

    I keep getting the error code below every time I click "Publish to Facebook Application" or "Publish to Facebook Profile".

    API Error Code: 102
    API Error Description: Session key invalid or no longer valid
    Error Message: Iframe dialogs must be called with a session key

    I know there's something I'm missing here, but dealing with Facebook integration always seems to lower my IQ 50 points. Using the latest version from the WP repository.

    Any help you can give is appreciated!

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Otto
    Tech Ninja
    Posted 8 months ago #

    Go to the SFC Settings page. Save the settings. This should solve the problem by refreshing the session key.

    If you change your FB password, then your sessions become invalid, and you need to resave the SFC settings so it can get a new session.

    A future version may eliminate this issue.

  3. ddabney
    Member
    Posted 8 months ago #

    That did it. Thanks a lot for your help!

  4. robert.glez
    Member
    Posted 6 months ago #

    Hello,

    I have the same issue. However, resaving the SFC settings doesn't solve it. What could I do?

    Thanks a lot beforehand.

    Roberto

  5. akosner
    Member
    Posted 6 months ago #

    yes. i'm having the same problem.

  6. Otto
    Tech Ninja
    Posted 6 months ago #

    Try clearing your browser cookies, then reloading that Edit Post screen. You'll have to re-login to everything, but it should refresh your browser cookies and fix the session keys.

  7. sandraqu
    Member
    Posted 5 months ago #

    I was getting that error, and my plugin is now working having followed two set of instructions. I don't know which of my actions resolved the issue, but here is what I did:

    After following a set of about 10 steps that, sadly, I can not find the URL for, I got rid of the 102. Those particular instructions stated to add a "Canvas URL". This got rid of the 102, but gave me other errors— it produced a blurb in the "Facebook Publisher" box right of my post while in edit.

    I then followed these instructions and wallah! it works. These instructions specify to go to your FB App page and click "Add to My Page". They also clarify which URL to add in the "Website URL" field of the App settings.

    http://solutionsbyheidi.com/2011/10/10/using-simple-facebook-connect/

    This is the way my app is currently setup and working. I hope you find it helpful:

    Basic info
    Display Name: This Useful App
    Namespace: thisusefulapp
    Contact: user@mydomain.com
    App Domain: < this is empty >

    Select how your app integrates with Facebook
    Website
    Site URL: http://myblogsdomain.com

    App on FB
    Canvas URL: http://apps.facebook.com/thisusefulapp/
    Secure Canvas URL: https://apps.facebook.com/thisusefulapp/

  8. Otto
    Tech Ninja
    Posted 5 months ago #

    You should not have "App on FB" selected, nor have a Canvas URL there. The Website section is all you need.

  9. sandraqu
    Member
    Posted 5 months ago #

    Alright. The plugin stopped working and I have no idea how or why since it was the last plugin installed. This is not related to deleting the Canvas URL. It stopped working on its own.

    What I'm wondering is how do you get the "tokens"? Clicking "Grant SFC Permissions" button doesn't do anything.

  10. Otto
    Tech Ninja
    Posted 5 months ago #

    Once you grant permissions and Save, the plugin will talk to Facebook and attempt to get the necessary tokens.

    If it can't get them, then that indicates a communication problem, generally speaking.

Reply

You must log in to post.

About this Plugin

About this Topic