WordPress.org

Ready to get started?Download WordPress

Forums

WPBook Lite
[resolved] Repeatedly being asked to generate new access token (new issue) (8 posts)

  1. Jeff Pye Brook
    Member
    Posted 2 years ago #

    Note... I posted this in the prior thread on the same topic before I noticed it was resolved.

    I have been having this problem for about a week now. I followed all the steps listed in the prior topic, and confirmed the settings in the facebook application tab.

    No matter what I try I can't change the behavior.

    In my case I noticed that changing the "YOUR Facebook Profile ID" value doesn't change the access token. I don't know if this is normal?

    Also, when I generate the access token I see a blank page with this information:

    Succeeded in saving Access Token ....functions.php at line 2707 function n/a (deprecated_argument_run, get_bloginfo, The home option is deprecated for the family of bloginfo() functions. Use the url option instead., 2.2) .....general-template.php at line 405 function n/a (get_bloginfo, 2.2, The home option is deprecated for the family of bloginfo() functions. Use the url option instead.) ......wpbook-lite.php at line 644 function n/a (home) .......n/a at line n/a function n/a

    I am definitely perplexed.

    http://wordpress.org/extend/plugins/wpbook-lite/

  2. johneckman
    Member
    Plugin Author

    Posted 2 years ago #

    Jeff - thanks for providing all this info and being persistent. ;)

    I had not been able to reproduce the issue until I grabbed a fresh copy of the plugin out of the repository - at some point my test copy (on a test blog) got out of sync which was why I could not reproduce it.

    I've fixed the bug (I believe) in version 1.5 of WPBook Lite. (Upped the version number to 1.5 to reflect the severity of the bug, rather than going to something like 1.4.4).

    Please try updating to 1.5, and regenerating your access token. Once you do, you should get an access token longer than the one you used to get - you can test that one in the facebook debugger but it should be ok.

  3. Jeff Pye Brook
    Member
    Posted 2 years ago #

    Thanks John,

    Looks like you fixed it. Tested the plugin on http://www.sparkle-gear.com and it's feeding Facebook again.

    Great work.

  4. johneckman
    Member
    Plugin Author

    Posted 1 year ago #

    Good. Thanks for helping by posting detailed feedback.

  5. tingyat
    Member
    Posted 1 year ago #

    Hi,

    I now seem to be experiencing similar problems with access tokens - this within the last week or so and without respite. I'm using WPBook Lite 1.5.2.

    In using "Generate Access Token" I get this error message from FB:

    <begin>
    Error
    An error occurred with Continuum. Please try later

    API Error Code: 191
    API Error Description: The specified URL is not owned by the application
    Error Message: Invalid redirect_uri: Given URL is not permitted by the application configuration.
    <end>

    Prior to this and post the update, everything was working as it should.

    With one thing and another, came across FB's Debugger tool and this is what came up:

    <begin>
    Input URL, Access Token, or Open Graph Action ID

    Scrape Information

    Response Code 200
    Fetched URL https://www.facebook.com/apps/application.php?id=325326290879459
    Canonical URL https://www.facebook.com/apps/application.php?id=325326290879459
    Critical Errors That Must Be Fixed

    Facebook URL Facebook URLs cannot be crawled.
    Errors that must be fixed

    Missing Required Property The 'og:url' property is required, but not present.
    Open Graph Warnings That Should Be Fixed

    Inferred Property The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.
    Parser Mismatched Metadata The parser's result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a...See more
    Raw Open Graph Document Information

    Meta Tag <meta property="fb:app_id" content="325326290879459" />
    Meta Tag <meta property="og:url" content="https://www.facebook.com/apps/application.php?id=325326290879459" />
    Meta Tag <meta property="og:site_name" content="Continuum" />
    Meta Tag <meta property="og:type" content="website" />
    Meta Tag <meta property="og:image" content="https://s-static.ak.facebook.com/rsrc.php/v2/y_/r/9myDd8iyu0B.gif" />
    URLs

    Graph API https://graph.facebook.com/483472441670419
    Scraped URL See exactly what our scraper sees for your URL
    <end>

    All this is whole different language to me - as in being incomprehensible - as in that 'og:url' part, likewise with this graph and open graph thing...

    I'm hoping someone can make sense of this and help me get things working again.

    TIA - Rogan

  6. tingyat
    Member
    Posted 1 year ago #

    As a follow up to the above, clicked on the, "Scraped URL See exactly what our scraper sees for your URL" link from above and got, "Document returned no data".

    Hope this helps.

  7. johneckman
    Member
    Plugin Author

    Posted 1 year ago #

    Note that in your generate access token there is this error message:

    The specified URL is not owned by the application
    Error Message: Invalid redirect_uri: Given URL is not permitted by the application configuration.

    Generally this means your Facebook application setup domain doesn't match your WordPress domain.

    What is the url of your WordPress install outside Facebook, and what do you have set as your application's domain inside the Facebook settings for your app?

    The scraper thing is failing because you are feeding it a Facebook url, and it doesn't work on FB urls - it's irrelevant

  8. johneckman
    Member
    Plugin Author

    Posted 1 year ago #

    Also, when you try to do "generate access token" what's the url of the page you end up on?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.