Publicize LinkedIn connection problem

  • Unknown's avatar

    A couple of weeks ago my WP admin UI said there was a Linkedin sharing problem to share a new blog post. Tried several times since to reconnect and no joy, now having to do it manually, not useful.

    What’s weird is LinkedIn says it’s connected with WP, and right time timestamp for a reconnect. But Publicize (Tools > Marketing > Connections menu item) just hangs post-authorization from LI side with ‘Connecting…’ button showing greyed out.
    – Have tried via web and WP app
    – Have removed on LI side and tried to reconnect.
    – Have cleared cookies, blah blah.
    – Twitter and FB sharing work fine.
    – Nothing in logs apart from the connect to LI.
    But still no joy. Any ideas?

    The blog I need help with is: (visible only to logged in users)

  • Hey @jreid2099, thanks for letting us know. We’ll dig around a bit here to see what we can find. Can you let us know what was the last post that worked properly?

    Also, just to check, have you tried logging out of Linked In and logging back in prior to making the connection?

  • Unknown's avatar

    Thanks for getting back to me, @supernovia.

    Last post with a successful LI share I think was around beginning of February. Now that the issue has crept past my ‘post pain threshold’ I’m asking for help… ;-)

    Yes, I’ve tried logging out of LI , clearing all LI cookies, relogging back in.

    I’m familiar with REST and API tokens and believe this is being used for WP’s social shares. I don’t think prob is on LI side as it shows WP deregistering/registering as I make the connection attempts from the WP side.

    I can see the API connection calls I’m attempting via the Publicize UI for LI in the WP admin log (nonces anonymized), e.g. :

    [2021-03-16 17:03:05.896] https://public-api.wordpress.com/connect/?action=request&kr_nonce=xyz123xyz123xyz123&nonce=xyz123xyz123&for=connect&service=linkedin&blog=123456789&kr_blog_nonce=xyz123xyz123&magic=keyring

    The Publicize PHP code catches any older LI API (v1) usage, so it’s not that.

    Is it at DB/array level? e.g. not releasing a previous token? Can I clear records manually? (I’ve got some db admin exp.)

    I notice in the threads there was a Twitter API issue reported a few weeks back that was resolved. Similar?

  • Hmm, I think you may be experiencing this bug, have a look:

    https://github.com/Automattic/wp-calypso/issues/46802.

    If that sounds familiar, let us know or, if you’re using GitHub, feel free to add a comment to that thread directly.

  • Unknown's avatar

    Good spot staff-mckluskey

    When running the API request in my browser https://public-api.wordpress.com/connect/?action=request&kr_nonce=….
    (with the latest parameters I got from the WP app log), I also get the “Invalid/missing request nonce” error detailed by others in the Github thread.

    The ‘API throttling’ explanation still comes up, but that can’t be the case for one user over several weeks having the problem

    I’ve added my report to the Github thread, but looks like no fix has been written yet. If you have any influence, please expedite a sprint, merge & build to include such ASAP!

    Will carry on with manually posting to LI in the meantime.
    Thanks

  • The topic ‘Publicize LinkedIn connection problem’ is closed to new replies.