This project has moved. For the latest updates, please go here.

Flickr OAuth issue [WP7]

Topics: Developer Forum
Dec 16, 2011 at 11:18 PM

So I created an OAuth client for flickr with flickrnet and everything seems simple enough.

Trouble is once I have got the requestToken then passed that into a standard WP7 (mango) browser control I get the login page, followed by the page to grant the access, but once I click the "yes" button to grant access I am constantly sent to a page that says:

"We're having trouble displaying this page"

I'm snooping the url in the Navigating event to look for my own URL scheme to get the accessToken from, but where I'd expect to get my scheme, I see only a http:// scheme for a page application.gne

I guess it's possible flickr are having issues ATM, but I'm wondering if this is an issue anyone else has run into.

It's worth noting I'm generating the initial URL using the flickrnet OAuth methods and that is giving me the desktop version of the site. This is running in the simulator, so is that also expected ? or should I be getting the mobile auth page ?



Dec 17, 2011 at 11:31 AM

OK so I figured it out in that the webBrowser will error on any non http/https scheme... so setting dummy://auth as the callback doesn't work on WP7, but using http://dummy/auth does.

Dec 19, 2011 at 7:29 AM

Glad you sorted that, as I was confused as I knew WP7 didn't support custom schemas but hadn't realised exactly how the error was presenting.