WP7 App, OAuth problem?


Everything is fine until i log into twitter on the App, log seems good but i get a popup saying “?”

Then i can access the page where it say " Redirecting you back to the application…but it never does

If i click on “click here to continue” after “if your browser doesn’t redirect you please” i just get another popup with this error:

<?xml version ="1.0" encoding ="UTF-8"?>
<error> invalid / expired token </error>
<request> /oauth/access_token</request>

Nothing more after that, can’t see where is the problem, if someone have an idea

PS: sorry for my english :slight_smile:


Seems to be caused by sort of random gziping oauth return messages. Please check this thread:

The solution, at least for me, was to add the last line in the code below (as suggested by @SMCApps SMCApps):

Hammock.RestClient client;
Hammock.RestRequest request;
TwitterSettings.GetTwitterSecondRequest(uri, twitter_oAuthToken, twitter_oAuthTokenSecret, out client, out request);
client.DecompressionMethods = Hammock.Silverlight.Compat.DecompressionMethods.GZip;