We couldn't get this to work either & would be interested to hear if anyone has 
made it work, with the Qt WebView browser.

We ended up switching from display=touch to display=wap as a workaround.

Bret

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of ext 
Matti Mäki
Sent: Thursday, October 20, 2011 12:51 PM
To: [email protected]
Subject: [Qt-qml] Showing FB's touch-optimized auth dialog in WebView

I'm struggling with the Facebook authentication dialog that I want to show in a 
WebView on Symbian phones. With the following fb oauth dialog URL I get the 
desktop login window:

https://www.facebook.com/dialog/oauth?client_id=XXX&redirect_uri=http://www.facebook.com/connect/login_success.html&response_type=token&scope=publish_stream

But as this is designed for larger screen, I added "&display=touch" to the 
query string. Now the fb redirections don't work anymore and I don't get the 
login screen at all. For authentication I followed instructions from Johan 
Paul's blog (www.johanpaul.com/blog/2011/05/oauth2-explained-with-qt-quick/). I 
also tried yoka's QMLFB project from github (https://github.com/yoka/QMLFB) but 
didn't succeed with that either.

Does anyone know how to make the touch-optimized auth dialog work?

/matti
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to