Support » Plugin: Revive Old Posts - Social Media Auto Post and Scheduling Plugin » Twitter oAuth fails after authorisation (shows 500 error)

  • Resolved qaws

    (@qaws)


    Hi, I’ve recently installed this and am trying to add a twitter account. I’ve followed your instructions, created an app, and entered all the same details as your help file.

    After entering my consumer key and secret key, I get the “Authorize app to use your account?” page at https://api.twitter.com/oauth/authorize?oauth_token=xxxx&force_login=0 , and in the top-right of this screen it shows my twitter account as logged in. But when I click the “Authorize app” button, I get the “redirecting you back” page, then it reloads to the following page which displays a HTTP 500 error with the words “<my website> is currently unable to handle this request.
    HTTP ERROR 500” at https://<my website>/wp-admin/admin.php?page=TweetOldPost&network=twitter&oauth_token=yyyyyyyyyyyyyyyyy&oauth_verifier=zzzzzzzzzzzzzz

    I have entered the correct URL for my website for the callback. I can’t raise a ticket on your support website because it says you will share my contact information with another company and I don’t want that.

    Can you please help.

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Uriahs Victor

    (@uriahs-victor)

    Hi, please go ahead and fill out the form on our support page to submit the ticket: https://revive.social/support/

    Helpscout is our support system which we use to keep track and reply to support requests.

    When filling out the form you can enter “Free” where it asks for license

    Thread Starter qaws

    (@qaws)

    Hi, I submitted a support ticket using your system shortly after I made this post, and over a week later I still haven’t heard anything from you. Can you please help. I’d like to try using your plugin and maybe become a paying customer if it does what I need it to. Thanks.

    Thread Starter qaws

    (@qaws)

    Here’s the error log for when I get the HTTP 500:

    [03-Oct-2018 17:50:20 UTC] PHP Fatal error:  Uncaught Abraham\TwitterOAuth\TwitterOAuthException: Reverse auth credentials are invalid in /var/sites/mysite.com/public_html/wp-content/plugins/tweet-old-post/vendor/abraham/twitteroauth/src/TwitterOAuth.php:168
    Stack trace:
    #0 /var/sites/mysite.com/public_html/wp-content/plugins/tweet-old-post/includes/admin/services/class-rop-twitter-service.php(97): Abraham\TwitterOAuth\TwitterOAuth->oauth('oauth/access_to...', Array)
    #1 /var/sites/mysite.com/public_html/wp-content/plugins/tweet-old-post/includes/admin/class-rop-admin.php(238): Rop_Twitter_Service->authorize()
    #2 /var/sites/mysite.com/public_html/wp-includes/class-wp-hook.php(286): Rop_Admin->legacy_auth('')
    #3 /var/sites/mysite.com/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #4 /var/sites/mysite.com/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #5 /var/sites/mysite.com/public_html/wp-admin/admin.p in /var/sites/mysite.com/public_html/wp-content/plugins/tweet-old-post/vendor/abraham/twitteroauth/src/TwitterOAuth.php on line 168
    Plugin Contributor Uriahs Victor

    (@uriahs-victor)

    Hi, I responded to your ticket a few hours ago, please check again

    Thread Starter qaws

    (@qaws)

    Hi, I’ve not received an e-mail from you, not even when I raised the ticket last week. Can you please respond here.

    Also can you please stop setting this ticket as resolved, as it’s not.

    Thanks.

    Plugin Contributor Uriahs Victor

    (@uriahs-victor)

    Hi, I checked our ticketing system spam and ticket inbox but couldn’t find your ticket.

    We need to check out your website to see what’s going on. You can send us a ticket to friends@revive.social and we’ll receive it there as well.

    Thread Starter qaws

    (@qaws)

    I’ve managed to fix this. It turns out that at some point the plugin “WP Super Cache” had modified my .htaccess file and removed all of its configuration that used to be in there; it was empty between the Start/End tags for their config, even though I was still using it.

    Once I added the config back in, everything started working. I went to WP Super Cache > Advanced > Expert > Update Mod_Rewrite Rules, it wrote its config back into my .htaccess file, and that fixed the issue. I immediately tried adding a twitter account to Revive Old Posts, and it worked first time, no HTTP 500 and ROP now showed my linked twitter account.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Twitter oAuth fails after authorisation (shows 500 error)’ is closed to new replies.