html5 - Twitter/Facebook authorization in Windows 8 app with Javascript -


is there way login facebook/twitter in windows 8 app based on javascript , html5?

authorization pages not allow embedded iframe , can not navigate topmost window authorization url javascript code ("url because url launches app. direct user interaction can launch app. visual studio not attached script debug target supports script diagnostics" error).

response 1 of microsoft engineers, him lot:

there couple of ways can that. can work token. example ...

https://github.com/cauld/winjs-oauth-for-twitter

... , ...

http://social.msdn.microsoft.com/forums/en-us/winappswithhtml5/thread/1b17ec50-00af-48ff-980c-5bf58145f2a9

or can use webauthenticationbroker ...

http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.authentication.web.webauthenticationbroker.aspx

http://code.msdn.microsoft.com/windowsapps/web-authentication-d0485122


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -