After Upgrade Failed Authorization

Support / help / discussion forum for twitter bot
SkullLife
Posts: 65
Joined: Sat Mar 03, 2018 5:08 pm

After Upgrade Failed Authorization

Post by SkullLife »

I uninstalled TD and then re-installed the latest version. Now when attempted to add new accounts I keep getting a message that it's failed Authorization.
I have TD create the app automatically. Then every other acct I try to add fails. I can login to them using TD just fine so I know the user name and pass is correct. I can even create a new app for each account however it will not authorize under a the initial app.

This is what I'm getting:

Image

I had no problems before I reinstalled TD. This is really strange

Also keep getting this in the logs:

Starting: 12/06/2018 21:20 PM
Validating: XXXXXXXXXXXXX No Proxy
procauth: authorise.Process
Attempt login
Login: XXXXXXXXXXXXX : XXXXXXXXXXXXX No Proxy
UA: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Login: get: https://apps.twitter.com/
Already logged in: XXXXXXXXXXXXX
Authorise : XXXXXXXXXXXXX No Proxy
request token: API Consumer key: XXXXXXXXXXXXX API Consumer Secret: XXXXXXXXXXXXX
Generate request: XXXXXXXXXXXXX XXXXXXXXXXXXX
Post requestToken: https://api.twitter.com/oauth/request_token No Proxy
Post requestToken resp: 403 https://api.twitter.com/oauth/request_token No Proxy
* FAILED: request token request: 403
https://api.twitter.com/oauth/request_token
<?xml version="1.0" encoding="UTF-8"?><errors><error code="415">Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings</error></errors>
* FAILED: 938579832 : Failed request token request

Please go to the forum post for more help on authorising accounts: viewtopic.php?f=30&t=1646
Failed request token request
abitmiffed
Posts: 6
Joined: Fri Jun 01, 2018 6:56 am

Re: After Upgrade Failed Authorization

Post by abitmiffed »

Same problem here. Trying to Authorize an account always results in the following:

https://api.twitter.com/oauth/request_token
<?xml version="1.0" encoding="UTF-8"?><errors><error code="415">Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings</error></errors>
* FAILED: 938579832 : Failed request token request

Have tried older versions but still the same problem :(
abitmiffed
Posts: 6
Joined: Fri Jun 01, 2018 6:56 am

Re: After Upgrade Failed Authorization

Post by abitmiffed »

I'm guessing the app hasn't taken into account the new callback url whitelisting requirements: https://developer.twitter.com/en/docs/b ... k_url.html

Can we expect a new version to fix this soon?
User avatar
martin@rootjazz
Site Admin
Posts: 34369
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: After Upgrade Failed Authorization

Post by martin@rootjazz »

Let me look into this and run some tests here.
User avatar
martin@rootjazz
Site Admin
Posts: 34369
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: After Upgrade Failed Authorization

Post by martin@rootjazz »

https://rootjazz.com/twitterdub/updatetesting.html

in order to authorise to the keys, you must get the CALLBACK URL and specify it for the custom keys, accounts form (or right click to bulk) or global keys via SETTINGS tab

If the app creates new keys, then it will store this url automatically, but for existing keys you need to do it manually



Regards,
Martin
jpnex
Posts: 3
Joined: Thu Jun 14, 2018 8:41 pm

Re: After Upgrade Failed Authorization

Post by jpnex »

The same error
In apps.twitter.com Setting - Callback Url I write random site but the problem not gone.
Anybody can fix this problem?
SkullLife
Posts: 65
Joined: Sat Mar 03, 2018 5:08 pm

Re: After Upgrade Failed Authorization

Post by SkullLife »

using ver 1.4.4.5 and its now working again. Thanks
User avatar
martin@rootjazz
Site Admin
Posts: 34369
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: After Upgrade Failed Authorization

Post by martin@rootjazz »

fixed something else

https://rootjazz.com/twitterdub/updatetesting.html

when creating API APPs from accounts tab wasn't saving callback URL - only if used walk through (and made add account)
abitmiffed
Posts: 6
Joined: Fri Jun 01, 2018 6:56 am

Re: After Upgrade Failed Authorization

Post by abitmiffed »

Nice one Martin...working a treat now :)
User avatar
martin@rootjazz
Site Admin
Posts: 34369
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: After Upgrade Failed Authorization

Post by martin@rootjazz »

jpnex wrote: Thu Jun 14, 2018 8:42 pm The same error
In apps.twitter.com Setting - Callback Url I write random site but the problem not gone.
Anybody can fix this problem?
you need to then take that callback URL an tell TD what it is as TD now needs to use it to authorise
Post Reply