Thanks,
display=popup seems to bring a more simplified auth UI but it's still
designed for landscape use which is bad.
Quite embarrassing that display=touch and display=wap both seem to never
render anything to the webview, seems they stop doing anything after two
redirections :/ Tried on both simulator and device (Nokia 701)
I also tried two different auth URIs,
graph.facebook.com/oauth/authorize... and
www.facebook.com/dialogs/oauth..., seem to make no difference.
/matti
22.10.2011 19:02, Timo Strömmer kirjoitti:
My FbQML experiment (https://github.com/tilli/FbQML) used to work on
E7, but it's been a while since I tried it the last time.
https://graph.facebook.com/oauth/authorize?client_id=XXX&redirect_uri=http://www.facebook.com/connect/login_success.html&type=user_agent&display=popup&scope=read_stream
<https://graph.facebook.com/oauth/authorize?client_id=XXX&redirect_uri=http://www.facebook.com/connect/login_success.html&type=user_agent&display=popup&scope=read_stream>
- Timo
2011/10/20 Daker Fernandes Pinheiro <[email protected]
<mailto:[email protected]>>
I have a working login dialog authentication working with QtQuick
(running
well on Symbian devices). The QMLFB uses an old auth method from
FB API. I'll
make it public ASAP.
Cheers,
On Thursday, October 20, 2011 01:51:03 PM Matti Mäki wrote:
> 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
<https://www.facebook.com/dialog/oauth?client_id=XXX&redirect_uri=http://www>
>
.facebook.com/connect/login_success.html&response_type=token&scope=publish_
<http://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/
<http://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] <mailto:[email protected]>
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
--
Daker Fernandes Pinheiro
openBossa
_______________________________________________
Qt-qml mailing list
[email protected] <mailto:[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