Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mike Hansen 5 posts 25 karma points
    May 22, 2014 @ 18:10
    Mike Hansen
    0

    YSOD When trying to authorize a new feed

    Hello,

    I'm using Umbraco 7.1 and while I previously had setup a feed to pull down properly, when I tried to change the feed by deleting the old one and then hitting the +Authorize link, I continually get an Unauthorized error from Twitter.

    I've updated the consumer key and secret and they match the application settings in twitter and as I mentioned, this was previously working well. Even had a custom widget displaying the last 3 tweets as a cached macro for the footer on my site. It's only when wanting to change the twitter account it got messed up.

    Here is the following issue I get when I click the +Authorize link.

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    May 22, 2014 @ 18:40
    Matt Brailsford
    0

    Hey Mike,

    I'll have to take a look into this. In the meantime, maybe try switching the auth property on your doctype to a textbox then in the editor, clear any saved value (save and publish) then go and switch it back to the auth property and see if that clears everything out?

    Many thanks

    Matt

  • Mike Hansen 5 posts 25 karma points
    May 22, 2014 @ 19:37
    Mike Hansen
    0

    Thanks for the reply Matt,

    I've given what you suggest a try and also completely removed the property from the page and it still gives me the same issue.

    I've tried adding a new property of that type to another page that previously didn't have the property and also get the same error when clicking the Authorize link. I've also tried this in two different environments, the site I'm running is in Azure and locally in my development copy I have the same issues.

     

     

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    May 22, 2014 @ 20:41
    Matt Brailsford
    0

    Interesting. Have you tried logging out of your twitter account (at twitter.com) and seeing if that makes a difference?

    Many thanks

    Matt

  • Mike Hansen 5 posts 25 karma points
    May 22, 2014 @ 21:26
    Mike Hansen
    0

    I logged out, tried again. Opened a completely different browser (IE) and made sure I wasn't logged into twitter and also got the same unauthorized result. It's quite puzzling.

  • Mike Hansen 5 posts 25 karma points
    May 28, 2014 @ 18:45
    Mike Hansen
    0

    I've done some more playing around with the problem, starting over completely from scratch and it seems to be isolated with the API Key and Consumer secret values. When I use the default (i.e. they are blank in the OAuth data type on a fresh install of the package), then I'm able to authenticate without issue. As soon as I add in the values generated by Twitter for my application, I get the error messages described.

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    May 28, 2014 @ 20:17
    Matt Brailsford
    1

    Hi Mike,

    In twitter, where you have setup you app, have you set a callback url? We never use it, but for some reason, twitter needs one to be set.

    Many thanks

    Matt

  • Mike Hansen 5 posts 25 karma points
    May 29, 2014 @ 16:48
    Mike Hansen
    0

    I did have a callback setup, twitter was acting a little funny as it didn't save the first two times, I'd set it hit save, then it was not in the field. I may give it another go-round today if I have time.

  • Tom Madden 252 posts 454 karma points MVP 4x c-trib
    Mar 29, 2017 @ 14:54
    Tom Madden
    0

    Very old post but came across this today and confirm adding the callback solved the issue for me

    http://yoursite.com/App_Plugins/utwit/twitteroauth1callback.aspx which was the page with the ysod in the first place

    thanks Matt.

Please Sign in or register to post replies

Write your reply to:

Draft