Thursday, October 21, 2010

Windows Phone 7 – facebook OAuth Update

On the final day before I wanted to submit a Windows Phone 7 application, the facebook integration functionality suddenly stopped working.  I was receiving an error message after the user logs in.  This also broke an application I had already completed so I knew something had to change on the facebook side of the equation.

After pulling my hair out for over a week and correspondence with the facebook development team I identified the issue.  To get this feature working again, I simply needed to add “IsScriptEnabled=true” to the browser element in XAML so it looks like:

image

With this in place my authentication magically started working again. :P

Here’s hoping this save someone a little bit of time.

-twb

No comments:

Post a Comment