WordPress.org

Ready to get started?Download WordPress

Forums

Add Link to Facebook
[resolved] invelid api credential (24 posts)

  1. pandeym94
    Member
    Posted 2 years ago #

    sir
    i had installed the addlinks to facebook from the built in wizard for adding plugins
    then i created app in the same manner as mentioned in the screen shot
    now i filled the app id and secret id and saved
    now when i click on authorize it directs me too a facebook page which further directs me to allow plugin page
    but when i click allow it shows an error msg
    invalid api credential and get redirected to my site
    please tell me what i shoul do
    as i had never created an app for facebook so i would like to know that does i have to write some amount of code too
    or the things shown in screenshot are sufficient...

    http://wordpress.org/extend/plugins/add-link-to-facebook/

  2. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 years ago #

    There is a setup guide ...

  3. pandeym94
    Member
    Posted 2 years ago #

    i had already tried it i had already asked that does i have to preate any further coded app or not

  4. pandeym94
    Member
    Posted 2 years ago #

    error is
    invalid API credentials !

  5. pandeym94
    Member
    Posted 2 years ago #

    it is also showing the error when i am trying to authorize it to other account

    The session state (1101424392) didn't match the state parameter ()

  6. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 years ago #

    Check your Facebook App ID / Secret, one of them is probably entered wrong into the plugin.

  7. MarkGreenmantle
    Member
    Posted 1 year ago #

    Marcel, that last comment by Pandeym94 matched my error:

    The session state (942212112) didn't match the state parameter ()

    I have checked my App ID / Secret several times over.

    Entries in the FB app are placed as per your screen shots (with relevant changes)
    I donated today via Paypal so I'd rather like this to work soon please.

  8. Marcel Bokhorst
    Member
    Plugin Author

    Posted 1 year ago #

    Send me the debug info as explained in the last question of the FAQ and I will try to figure out how to solve this.

  9. MarkGreenmantle
    Member
    Posted 1 year ago #

    Thankyou Marcel, debug sent.

  10. shanu mathai
    Member
    Posted 1 year ago #

    nice

  11. Marcel Bokhorst
    Member
    Plugin Author

    Posted 1 year ago #

    I didn't receive the debug info so far ...

  12. MarkGreenmantle
    Member
    Posted 1 year ago #

    Marcel if you could please email me at
    mark at greenmantle dot biz
    I can copy the content of the debug and reply.
    Your plugin claimed the debug information was sent. ;)

  13. Marcel Bokhorst
    Member
    Plugin Author

    Posted 1 year ago #

    Maybe your hosting server isn't correctly configured to send e-mail. You can use this contact form to send me the debug info. If you can, print it as PDF and ZIP it please.

  14. MarkGreenmantle
    Member
    Posted 1 year ago #

    sent thanks.

  15. Marcel Bokhorst
    Member
    Plugin Author

    Posted 1 year ago #

    I have received the debug info in good order.

    I have followed the link under 'Redirect to:' and I get the same message as you.

    However, this message is not a message of Add Link to Facebook. My best guess another plugin is interfering.

    Try to disable (temporarily) all other plugins and to authorize the plugin. My best guess another Facebook related plugin is intercepting requests.

    Please let me know if you could solve this problem.

  16. litervollmilch
    Member
    Posted 1 year ago #

    Same problem for me. Even tried to create a new app (I already had one), but I always get "Invalid API Credentials" :/

  17. Marcel Bokhorst
    Member
    Plugin Author

    Posted 1 year ago #

    Did you try to authorize again?
    Did you disable all other plugins and tried to authorize again?
    Do you have the option 'Use links API instead of feed API' (plugin settings tab Admin) enabled?

  18. litervollmilch
    Member
    Posted 1 year ago #

    1. Yes, tried that several times even creating new credentials.
    2. Sorry no, not an option to me. 27 installed plugins (but none of them using FB API) and I don't "know" whether all of them keep their settings when disabling/enabling them :(
    3. Tried that option, too. No effect.

  19. Marcel Bokhorst
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, send me the debug info too, so I can see if I can find a common factor.

  20. litervollmilch
    Member
    Posted 1 year ago #

    Sent :) Thank you!

  21. Marcel Bokhorst
    Member
    Plugin Author

    Posted 1 year ago #

    Given that in both cases the debug info 'Get token:' is missing, my best guess stays that another plugin is intercepting the post back from Facebook.

  22. Marcel Bokhorst
    Member
    Plugin Author

    Posted 1 year ago #

    The message "Invalid API Credentials" is from another (probably Facebook related) conflicting plugin. I don't know which one, but if you find out, please let me know.

  23. MarkGreenmantle
    Member
    Posted 1 year ago #

    Hi Marcel,
    did you receive my latest debug notice? I have since disabled everything else on the site that would conceivably connect with Facebook and still receive a The session state (467210145) didn't match the state parameter ()

  24. Marcel Bokhorst
    Member
    Plugin Author

    Posted 1 year ago #

    Click on the link 'Redirect to' and you will see 'Invalid API Credentials!' for a few moments. This appears to be a message from Google+.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic